AsyncSSH 2.20.0 before 2.24.2 contains an information disclosure vulnerability in SSHConfig._expand_val that expands
Affects asyncsshSource GCVE Database
Not known to be exploited · CVSS 2.3 Low : upgrade to 2.24.2 when convenient.
Data as of 29 Nov 2026, 16:59 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 2.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 3.1 |
- Patch
- Available – fixed in 2.24.2
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 29 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Nov 2026.
What to do
Upgrade asyncssh to 2.24.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIasyncsshpkg:pypi/asyncsshOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade AsyncSSH to version 2.24.2 or later, where this vulnerability is fixed. No other mitigation is indicated or required.
Description
AsyncSSH versions 2.20.0 up to but not including 2.24.2 contain an information disclosure vulnerability in the SSHConfig._expand_val function. This flaw allows attackers who supply unvalidated host or user names to the connect() method to cause leakage of process environment variables, including sensitive credentials, into SSH options such as ProxyCommand arguments. The vulnerability is fixed in version 2.24.2.
References
- github.com/ronf/asyncssh/security/advisories/GHSA-54qj-68m2-5346 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-138375 (opens in a new tab)
- github.com/ronf/asyncssh/commit/43dfcb81b86d29b605873f7c77df06f9e9920ce1 (opens in a new tab)
- github.com/ronf/asyncssh/blob/v2.24.1/asyncssh/config.py (opens in a new tab)
- github.com/ronf/asyncssh/blob/v2.24.2/docs/changes.rst (opens in a new tab)
- vulncheck.com/advisories/asyncssh-2.20.0-before-2.24.2-environment-variable-disclosure-via-config-token-expansion (opens in a new tab)