AsyncSSH 1.13.1 before 2.24.2 contains an improper authentication vulnerability in SSHConnection._match_known_hosts that accumulates trusted client host keys across host-based authentication attempts on one connection. With trust_client_host enabled, attackers holding one known client host's private key can retry naming another known host and log in as users authorized only from that host.
https://github.com/ronf/asyncssh/security/advisories/GHSA-4hgp-7gmx-wvfg
https://github.com/ronf/asyncssh/commit/19731a172894f7d82fbb69cb477f6f3c2103bf97
https://github.com/ronf/asyncssh/blob/v2.24.2/docs/changes.rst
https://github.com/ronf/asyncssh/blob/v2.24.1/asyncssh/connection.py#L1274-L1298
Published: 2026-11-29
Updated: 2026-11-30
Base Score: 8.5
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:C/A:N
Severity: High
Base Score: 5.9
Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
Severity: Medium
Base Score: 7.4
Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Severity: High
EPSS: 0.00532