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.
Metrics
CVSS 3.1 5.9/10
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:NWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| ronf | AsyncSSH | >= 1.13.1, < 2.24.2 |
References
- https://github.com/ronf/asyncssh/blob/v2.24.1/asyncssh/connection.py#L1274-L1298
- https://github.com/ronf/asyncssh/blob/v2.24.2/docs/changes.rst
- https://github.com/ronf/asyncssh/commit/19731a172894f7d82fbb69cb477f6f3c2103bf97
- https://github.com/ronf/asyncssh/security/advisories/GHSA-4hgp-7gmx-wvfg
- https://www.vulncheck.com/advisories/asyncssh-1.13.1-before-2.24.2-improper-authentication-via-host-based-auth-key-carry-over
Timeline
- Published
- Nov 29, 2026
- Last modified
- Nov 30, 2026
- NVD status
- Awaiting Analysis