Technical impact
AsyncSSH versions 1.13.1 up to 2.24.1 contain an improper certificate validation flaw that allows a remote client to authenticate as a user by manipulating the known_client_hosts store. The vulnerability enables an attacker to perform a failed host‑based authentication with any host key, then add host‑only CA certificates to the trust anchors and subsequently use user certificates issued under those CAs to log in. This can result in unauthorized access with the privileges of the target user. The weakness is classified as CWE‑295, which highlights a lack of proper certificate validation.
Affected Systems
All deployments of the AsyncSSH project using any version from 1.13.1 through 2.24.1 are impacted. The vulnerability is tied to the AsyncSSH library, which is widely used in Python applications that rely on SSH connectivity. Upgrading to version 2.24.2 or later resolves the issue.
Risk and Exploitability
The CVSS score of 7.6 indicates high severity. While an EPSS score is not available, the vulnerability is not listed in CISA’s KEV catalog, suggesting no publicly available exploits at the time of this analysis. The attack vector is remote over the network; any client that can connect to an SSH service running vulnerable AsyncSSH can potentially bypass authentication as described. The overall risk is significant for systems that rely on user certificate authentication and accept untrusted host certificates via known_client_hosts.