CVE-2026-138374
AsyncSSH 2.7.0 before 2.24.2 Argument Injection via ProxyCommand Token Substitution
Mitigation
- Upgrade AsyncSSH to 2.24.2 or later.
Who should check
- Anyone running ronf AsyncSSH >= 2.7.0, < 2.24.2
Vulnerability facts
- Affected
- ronf AsyncSSH >= 2.7.0, < 2.24.2
- Fixed in
- ronf AsyncSSH 2.24.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.7 (v4.0, CNA)CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Attack requirements: Present
- Privileges required: Low
- User interaction: None
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.83% chance of exploitation in 30 days (percentile 59, 2026-12-01)
- CWE
- CWE-88
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| ronf AsyncSSH | >= 2.7.0, < 2.24.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-138374. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-138374.md Affected: ronf AsyncSSH >= 2.7.0, < 2.24.2 Fixed in: ronf AsyncSSH 2.24.2 Steps: 1. Search this machine and project for ronf AsyncSSH: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
FAQ
Is CVE-2026-138374 being exploited?
There is no confirmed exploitation: CVE-2026-138374 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.83% chance of exploitation in the next 30 days (as of 2026-12-01).
How serious is CVE-2026-138374?
High: CVSS 7.7 (v4.0, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-138374?
ronf AsyncSSH >= 2.7.0, < 2.24.2.
Is there a fix for CVE-2026-138374?
Yes. Fixed in ronf AsyncSSH 2.24.2. Upgrade AsyncSSH to 2.24.2 or later.
How do I check if I'm affected by CVE-2026-138374?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More ronf vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| LOW 2.3 | CVE-2026-138375 AsyncSSH 2.20.0 before 2.24.2 Environment Variable Disclosure via Config Token Expansion | PyPI packages | EPSS 32% | |
| HIGH 7.4 | CVE-2026-138376 AsyncSSH 1.13.1 before 2.24.2 Improper Authentication via Host-Based Auth Key Carry-Over | Python | EPSS 57% | |
| HIGH 7.6 | CVE-2026-138377 AsyncSSH 1.13.1 before 2.24.2 Improper Certificate Validation via known_client_hosts | PyPI packages | EPSS 33% |