CVE-2026-138374
7.5HighPublished Nov 29, 2026 · NVD status: Awaiting Analysis · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- High
- Privileges
- Low
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-88
What an attacker gets
Authenticated attackers can execute arbitrary commands on the host by injecting malicious arguments into ProxyCommand tokens. This requires the application to use ProxyCommand with user-supplied host or user names.
Root cause
The library fails to sanitize whitespace or quote characters in ProxyCommand tokens before passing them to the local ssh client.
Affected versions
AsyncSSH 2.7.0 through 2.24.1
CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Fix & remediation
Upgrade to AsyncSSH 2.24.2 or later. If you cannot upgrade, avoid using ProxyCommand configurations that include %h, %n, or %r tokens with untrusted input.
$ pip install --upgrade asyncsshAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
- https://github.com/ronf/asyncssh/blob/v2.24.1/asyncssh/config.py#L148-L152
- https://github.com/ronf/asyncssh/blob/v2.24.2/docs/changes.rst
- https://github.com/ronf/asyncssh/commit/43dfcb81b86d29b605873f7c77df06f9e9920ce1
- https://github.com/ronf/asyncssh/security/advisories/GHSA-54qj-68m2-5346
- https://www.vulncheck.com/advisories/asyncssh-2.7.0-before-2.24.2-argument-injection-via-proxycommand-token-substitution
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-13836210.0CriticalRemote unauthenticated attackers can achieve full system compromise via a stack-based buffer overflow. This requires network access to the device's web interface.
- CVE-2026-13836110.0CriticalUnauthenticated remote attackers can execute arbitrary code on the device via a stack-based buffer overflow. This is triggered by sending a crafted API-AUTH argument to the web server.
- CVE-2026-1383589.9CriticalRemote attackers can execute arbitrary OS commands with elevated privileges. This requires low-privileged network access to the device.
- CVE-2026-1383579.9CriticalRemote attackers can execute arbitrary OS commands with elevated privileges. This requires low-privileged access to the SSL Certificate Import Endpoint.
- CVE-2026-1383569.1CriticalRemote attackers with administrative access can execute arbitrary OS commands via the web interface. This allows full system compromise of the affected network switches.
- CVE-2026-13835510.0CriticalUnauthenticated attackers can execute arbitrary OS commands via the SOAP handler. This allows full remote control of the device.