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.
https://github.com/ronf/asyncssh/security/advisories/GHSA-54qj-68m2-5346
https://github.com/ronf/asyncssh/commit/43dfcb81b86d29b605873f7c77df06f9e9920ce1
https://github.com/ronf/asyncssh/blob/v2.24.2/docs/changes.rst
https://github.com/ronf/asyncssh/blob/v2.24.1/asyncssh/config.py#L148-L152
Published: 2026-11-29
Updated: 2026-11-29
Base Score: 3.6
Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:N
Severity: Low
Base Score: 7.5
Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Severity: High
Base Score: 7.7
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
Severity: High
EPSS: 0.00544