AsyncSSH 1.13.1 before 2.24.2 Improper Certificate Validation via known_client_hosts
- State
- Published
- Severity
- 7.6 High
- Published
- Nov 29, 2026
- Updated
- Nov 29, 2026
- Reserved
- Nov 29, 2026
Description
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.
| Product | Versions |
|---|---|
| AsyncSSH ronf | 1.13.1 to before 2.24.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.6 High | VulnCheck | |
| 3.1 | 6.8 Medium | VulnCheck |
Weaknesses
- CWE-295 Improper Certificate Validation
References
- GitHub Security Advisory (GHSA-4hgp-7gmx-wvfg)Vendor Advisory
- https://github.com/ronf/asyncssh/commit/19731a172894f7d82fbb69cb477f6f3c2103bf97Patch
- https://github.com/ronf/asyncssh/blob/v2.24.1/asyncssh/connection.py#L1274-L1298Technical Details
- https://github.com/ronf/asyncssh/blob/v2.24.2/docs/changes.rstRelease Notes
- VulnCheck Advisory: AsyncSSH 1.13.1 before 2.24.2 Improper Certificate Validation via known_client_hostsThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.