CVE-2026-138374 PUBLISHED

AsyncSSH 2.7.0 before 2.24.2 Argument Injection via ProxyCommand Token Substitution

Assigner: VulnCheck
Reserved: 29.11.2026 Published: 29.11.2026 Updated: 29.11.2026

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.

Metrics

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
CVSS Score: 7.7

Product Status

Vendor ronf
Product AsyncSSH
Versions Default: unaffected
  • affected from 2.7.0 to 2.24.2 (excl.)

Credits

  • Chris Purcell (L3Digital LLC) finder

References

Problem Types

  • Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') CWE