Radar · CyberSafe

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

VersionScoreSeverityVectorSource
4.02.3lowCVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:Ncve.org
3.13.1lowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:Ncve.org
4.07.7highCVSS: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:Xnvd
3.17.5highCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:Hnvd

Affected products

ProductVersionsFixed in
ronf / asyncssh>=2.7.0 <2.24.2
asyncssh-project / asyncssh
ronf / asyncssh>=2.20.0 <2.24.2

Sources

Timeline

  1. SCORE (8 hours ago)severity: low → high
  2. SCORE (11 hours ago)severity: high → low
  3. FIX (1 day ago)fix: unknown → available
  4. NEW (1 day ago)
  5. NEW (1 day ago)