AsyncSSH 1.13.1 before 2.24.2 Improper Authentication via Host-Based Auth Key Carry-Over
- State
- Published
- Severity
- 7.4 High
- Published
- Nov 29, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 29, 2026
Description
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.
| Product | Versions |
|---|---|
| AsyncSSH ronf | 1.13.1 to before 2.24.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.4 High | VulnCheck | |
| 3.1 | 5.9 Medium | VulnCheck |
Weaknesses
- CWE-287 Improper Authentication
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 Authentication via Host-Based Auth Key Carry-OverThird-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.