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 quo…
- CVSS
- 7.5High
- Chance of exploitation (EPSS)
- 0.83%
- Published
- Nov 29, 2026
- In the news
- Not yet
What to do
A serious security flaw in Ronf Asyncssh that can be attacked over the network by someone with an account. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Fixed in: 2.24.2
Affected versions
- Ronf Asyncssh
- 2.7.0 to before 2.24.2
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 products
Get alerts for these →Timeline 4
Latest change: Tenable Cloud Security plugin 486208: Echo: python-asyncssh: security update to 2.20.0-1+e6 (Nov 30, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Tue, Dec 1, 2026
Mon, Nov 30, 2026
Sun, Nov 29, 2026
- CVECVE-2026-138374 published (CVSS 7.5)CVE Program · 14:17 UTC
References 6
- github.com /ronf/asyncssh/blob/v2.24.1/asyncssh/config.py#L148-L152
- github.com /ronf/asyncssh/blob/v2.24.2/docs/changes.rst
- github.com /ronf/asyncssh/commit/43dfcb81b86d29b605873f7c77df06f9e9920ce1
- github.com /ronf/asyncssh/security/advisories/GHSA-54qj-68m2-5346
- www.vulncheck.com /advisories/asyncssh-2.7.0-before-2.24.2-argument-injection-via-proxycommand-token-substitution
- github.com /ronf/asyncssh/security/advisories/GHSA-54qj-68m2-5346