AsyncSSH 2.20.0 before 2.24.2 Environment Variable Disclosure via Config Token Expansion

State
Published
Severity
2.3 Low
Published
Nov 29, 2026
Updated
Nov 30, 2026
Reserved
Nov 29, 2026

Read the record on cve.org

Description

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.

ProductVersions
AsyncSSH ronf2.20.0 to before 2.24.2 Affected

Weaknesses

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

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.