AsyncSSH 2.7.0 before 2.24.2 Argument Injection via ProxyCommand Token Substitution
CVE-2026-138374Published 29 Nov 2026, 13:24 UTC
Real-world risk
1.2/ 10Low
Routine
If the vulnerable configuration applies to you: 2.6
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.7
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.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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| asyncsshNiche | >= 2.7.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 | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| 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 T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.8% chance of exploitation in 30 days (percentile 59), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.122
- Threat T3: Public proof of concept0.950
- 10 × impact 1 × prerequisites 0.1215 × threat 0.951.154
- Rounded to one decimal between 0.1 and 101.2
Exploitation and evidence timeline
- 29 Nov 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 1.2 (cvss fallback)
Weakness
CWE-88
References
- https://github.com/ronf/asyncssh/security/advisories/GHSA-54qj-68m2-5346exploit, vendor-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.7.0-before-2.24.2-argument-injection-via-proxycommand-token-substitutionthird-party-advisory
- CVE-2026-138374 on CVE.org