All vulnerabilities

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
Weakness
Exposure of system information (CWE-497)
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.

From the CVE Program.

Affected software

SoftwareAffected versions
asyncsshPyPI · osv:PyPI:asyncssh
  • From 2.20.0 before 2.24.2

About asyncssh

Weekly downloads (PyPI)
3,802,373PyPI Stats, 29 Nov 2026

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-138375