All vulnerabilities

PyPI

CVE-2026-138374

AsyncSSH 2.7.0 before 2.24.2 Argument Injection via ProxyCommand Token Substitution

Severity
High 7.7
Published
29 Nov 2026
Last changed
29 Nov 2026
Added to UpHeron
29 Nov 2026
Fixed in
2.24.2
Weakness
Argument injection (CWE-88)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
asyncsshPyPI · osv:PyPI:asyncssh
  • From 2.7.0 before 2.24.2

About asyncssh

Weekly downloads (PyPI)
3,802,373PyPI Stats, 29 Nov 2026

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-138374