PyPI
CVE-2026-138375
AsyncSSH 2.20.0 before 2.24.2 Environment Variable Disclosure via Config Token Expansion
- Severity
- Low 2.3
- Published
- 29 Nov 2026
- Last changed
- 29 Nov 2026
- Added to UpHeron
- 29 Nov 2026
- Fixed in
- 2.24.2
- Attack
- Over the network · Only under certain conditions · Needs a user account · No user action needed
- Attacker can
- Read some data
- 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- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
asyncsshPyPI · osv:PyPI:asyncssh |
|
About asyncssh
- Weekly downloads (PyPI)
- 3,802,373PyPI Stats, 29 Nov 2026
Vulnerabilities in asyncssh
- In our list
- 4
- Published in the last 12 months
- 4
- Critical, last 12 months
- 0
- High, last 12 months
- 3
- Known exploited
- 0
- CVE-2026-138374AsyncSSH 2.7.0 before 2.24.2 Argument Injection via ProxyCommand Token SubstitutionHigh 7.7 29 Nov 2026
- CVE-2026-138376AsyncSSH 1.13.1 before 2.24.2 Improper Authentication via Host-Based Auth Key Carry-OverHigh 7.4 29 Nov 2026
- CVE-2026-138377AsyncSSH 1.13.1 before 2.24.2 Improper Certificate Validation via known_client_hostsHigh 7.6 29 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-138375