AsyncSSH 2.20.0 before 2.24.2 contains an information disclosure vulnerability in SSHConfig._expand_val that expands ${NAME} references inside substituted host or user names. Attackers supplying unvalidated host or user names to connect() can leak process environment variables like credentials into options such as ProxyCommand arguments using %h, %n or %r.
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: 2.1
Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:N/A:N
Severity: Low
Base Score: 3.1
Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Severity: Low
Base Score: 2.3
Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Severity: Low
EPSS: 0.00361