AsyncSSH 2.20.0 before 2.24.2 Environment Variable Disclosure via Config Token Expansion
CVE-2026-138375Published 29 Nov 2026, 13:24 UTC
Real-world risk
0.3/ 10Low
Routine
If the vulnerable configuration applies to you: 0.7
PreliminaryFrom the CVSS vector only · confidence low
CVSS
2.3
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| asyncsshNiche | >= 2.20.0, < 2.24.2 | 2.24.2 |
What to do
Update to a fixed version: 2.24.2.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.4% chance of exploitation in 30 days (percentile 32), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.122
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.1215 × threat 0.850.310
- Rounded to one decimal between 0.1 and 100.3
Exploitation and evidence timeline
- 29 Nov 2026 Published
- 3 Dec 2026 Risk 0.3 (cvss fallback)
Weakness
CWE-497
References
- https://github.com/ronf/asyncssh/security/advisories/GHSA-54qj-68m2-5346vendor-advisory
- https://github.com/ronf/asyncssh/commit/43dfcb81b86d29b605873f7c77df06f9e9920ce1patch
- https://github.com/ronf/asyncssh/blob/v2.24.1/asyncssh/config.py#L148-L152technical-description
- https://github.com/ronf/asyncssh/blob/v2.24.2/docs/changes.rstrelease-notes
- https://www.vulncheck.com/advisories/asyncssh-2.20.0-before-2.24.2-environment-variable-disclosure-via-config-token-expansionthird-party-advisory
- CVE-2026-138375 on CVE.org