Argument injection in AsyncSSH ProxyCommand token substitution
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-88.
Summary
AsyncSSH from 2.7.0 before 2.24.2 is affected. Whitespace or quote characters in host or user names are not neutralized before ProxyCommand tokens %h, %n or %r are split, a flaw classed as CWE-88. A remote attacker with low privileges who supplies host or user names can inject an -o option into the common ssh -W %h:%p bastion ProxyCommand and run commands as the application user.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
AsyncSSH 2.7.0 before 2.24.2 contains an argument injection vulnerability that allows attackers supplying host or user names to add arguments to the local proxy program by embedding whitespace or quote characters substituted into %h, %n or %r ProxyCommand tokens before splitting. Attackers can inject an -o option into the common ssh -W %h:%p bastion ProxyCommand to make the local ssh client run attacker-chosen commands as the application user.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade AsyncSSH to version 2.24.2, which fixes the flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA AsyncSSH (ronf) Fixed in 2.24.2
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
ronf AsyncSSH — GitHub Security Advisory (GHSA-54qj-68m2-5346)
2 records Highest priority Priority HIGH 1 HIGH, 1 LOW
Other records, highest priority first
- TI-2026-99532 Environment variable disclosure in AsyncSSH via config token expansionPriority LOW 12
Timeline
- 2026-11-29 Threatist record created from CVE-2026-138374
- 2026-11-29 Alias added: GHSA-2q46-77pw-8pgf
- 2026-11-30 CISA SSVC decision points changed
References
More ronf vulnerabilities
- TI-2026-87392 Chroot escape in AsyncSSH SFTP server lets users read and write files CVSS 3.1HIGH 8.8
- TI-2026-99533 Improper authentication in AsyncSSH host-based auth lets attackers log in CVSS 4.0HIGH 7.4
- TI-2026-39424 AsyncSSH AuthorizedKeysFile username substitution bypass through ~ and environment expansion CVSS 3.1MEDIUM 5.9
- TI-2026-39425 AsyncSSH: SCP Path Traversal to Arbitrary File Write CVSS 3.1HIGH 8.1
- TI-2026-99534 Improper certificate validation in AsyncSSH lets remote clients authenticate CVSS 4.0HIGH 7.6
- TI-2026-87391 Path traversal in AsyncSSH SFTP copy lets servers write local files CVSS 3.1MEDIUM 6.5
Sources
- CVE-2026-138374 · CVE Program
- CVE-2026-138374 · NVD
- FIRST EPSS
- GHSA-2q46-77pw-8pgf · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences