HIGH · 7.7
CVE-2026-138374
AsyncSSH 2.20.0 before 2.24.2 Environment Variable Disclosure via Config Token Expansion
Other identifiers: GHSA-54QJ-68M2-5346, CVE-2026-138375
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.
Details
- Severity
- HIGH 7.7
- KEV
- no
- EPSS
- 0.00544 (percentile 0.3931), as of 2026-11-30
- Fix
- available
- Published
- First seen
- Updated
CVSS scores
| Version | Score | Severity | Vector | Source |
|---|---|---|---|---|
| 4.0 | 2.3 | low | 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 | cve.org |
| 3.1 | 3.1 | low | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N | cve.org |
| 4.0 | 7.7 | high | CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | nvd |
| 3.1 | 7.5 | high | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | nvd |
Affected products
| Product | Versions | Fixed in |
|---|---|---|
| ronf / asyncssh | >=2.7.0 <2.24.2 | |
| asyncssh-project / asyncssh | ||
| ronf / asyncssh | >=2.20.0 <2.24.2 |
Sources
- cve.org · license: CVE Terms of Use · first seen · https://www.cve.org/CVERecord?id=CVE-2026-138375
- nvd · license: Public domain (NIST NVD) · first seen · https://nvd.nist.gov/vuln/detail/CVE-2026-138374
- osv · license: CC-BY-4.0 · first seen · https://osv.dev/vulnerability/CVE-2026-138374
Timeline
- SCORE (7 hours ago)severity: low → high
- SCORE (10 hours ago)severity: high → low
- FIX (1 day ago)fix: unknown → available
- NEW (1 day ago)
- NEW (1 day ago)