AsyncSSH 2.7.0 before 2.24.2 Argument Injection via ProxyCommand Token Substitution
- State
- Published
- Severity
- 7.7 High
- Published
- Nov 29, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 29, 2026
Description
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.
| Product | Versions |
|---|---|
| AsyncSSH ronf | 2.7.0 to before 2.24.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.7 High | VulnCheck | |
| 3.1 | 7.5 High | VulnCheck |
Weaknesses
- CWE-88 Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
References
- GitHub Security Advisory (GHSA-54qj-68m2-5346)Vendor Advisory
- https://github.com/ronf/asyncssh/commit/43dfcb81b86d29b605873f7c77df06f9e9920ce1Patch
- https://github.com/ronf/asyncssh/blob/v2.24.1/asyncssh/config.py#L148-L152Technical Details
- https://github.com/ronf/asyncssh/blob/v2.24.2/docs/changes.rstRelease Notes
- VulnCheck Advisory: AsyncSSH 2.7.0 before 2.24.2 Argument Injection via ProxyCommand Token SubstitutionThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.