CVE-2026-138375 PUBLISHED

AsyncSSH 2.20.0 before 2.24.2 Environment Variable Disclosure via Config Token Expansion

Assigner: VulnCheck
Reserved: 29.11.2026 Published: 29.11.2026 Updated: 29.11.2026

AsyncSSH 2.20.0 before 2.24.2 contains an information disclosure vulnerability in SSHConfig._expand_val that expands ${NAME} references inside substituted host or user names. Attackers supplying unvalidated host or user names to connect() can leak process environment variables like credentials into options such as ProxyCommand arguments using %h, %n or %r.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 2.3

Product Status

Vendor ronf
Product AsyncSSH
Versions Default: unaffected
  • affected from 2.20.0 to 2.24.2 (excl.)

Credits

  • Chris Purcell (L3Digital LLC) finder

References

Problem Types

  • Exposure of Sensitive System Information to an Unauthorized Control Sphere CWE