CVE-2026-138374

7.5High

Published Nov 29, 2026 · NVD status: Awaiting Analysis · AI triage by gemini-3.1-flash-lite

7.5CVSS

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.

remediation — bash
$ pip install --upgrade asyncssh

AI-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

Source: nvd.nist.gov/vuln/detail/CVE-2026-138374

More fully triaged vulnerabilities you may want to check next.