# CVE-2026-138374: AsyncSSH 2.7.0 before 2.24.2 Argument Injection via ProxyCommand Token Substitution

- Severity: High 7.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.83%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-29T13:24:21.950Z
- Modified: 2026-11-30T21:17:29.570Z
- Weaknesses: CWE-88
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- ronf AsyncSSH: from 2.7.0 before 2.24.2

## Every score

- VulnCheck: CVSS:4.0 7.7 High `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/ronf/asyncssh/security/advisories/GHSA-54qj-68m2-5346> (exploit, vendor-advisory)
- <https://github.com/ronf/asyncssh/commit/43dfcb81b86d29b605873f7c77df06f9e9920ce1> (patch)
- <https://github.com/ronf/asyncssh/blob/v2.24.1/asyncssh/config.py#L148-L152> (technical-description)
- <https://github.com/ronf/asyncssh/blob/v2.24.2/docs/changes.rst> (release-notes)
- <https://www.vulncheck.com/advisories/asyncssh-2.7.0-before-2.24.2-argument-injection-via-proxycommand-token-substitution> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-138374](https://www.cve.org/CVERecord?id=CVE-2026-138374), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-138374](https://nvd.nist.gov/vuln/detail/CVE-2026-138374), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-138374 · Whole record: https://cve.day/CVE-2026-138374.json · Rebuilt by cve.day 2026-11-30T21:32:17.403Z
