AsyncSSH 1.13.1 before 2.24.2 contains an improper certificate validation vulnerability that allows remote clients to authenticate as users by abusing X.509 certificates matched in known_client_hosts. Attackers can make a failed host-based authentication attempt with any host key, adding host-only CA certificates to the trust anchors, then authenticate using user certificates issued under those CAs.
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-29
Base Score: 6.4
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N
Severity: Medium
Base Score: 6.8
Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Severity: Medium
Base Score: 7.6
Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Severity: High
EPSS: 0.00373