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…
- CVSS
- 5.9Medium
- Chance of exploitation (EPSS)
- 0.77%
- Published
- Nov 29, 2026
- In the news
- Not yet
What to do
A moderate authentication flaw in Ronf Asyncssh that can be attacked over the network by someone with an account. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Fixed in: 2.24.2
Affected versions
- Ronf Asyncssh
- 1.13.1 to before 2.24.2
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.
Affected products
Get alerts for these →Timeline 4
Latest change: Tenable Cloud Security plugin 486218: Echo: python-asyncssh: security update to 2.20.0-1+e5 (Nov 30, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Tue, Dec 1, 2026
Mon, Nov 30, 2026
Sun, Nov 29, 2026
- CVECVE-2026-138376 published (CVSS 5.9)CVE Program · 14:17 UTC
References 6
- github.com /ronf/asyncssh/blob/v2.24.1/asyncssh/connection.py#L1274-L1298
- github.com /ronf/asyncssh/blob/v2.24.2/docs/changes.rst
- github.com /ronf/asyncssh/commit/19731a172894f7d82fbb69cb477f6f3c2103bf97
- github.com /ronf/asyncssh/security/advisories/GHSA-4hgp-7gmx-wvfg
- www.vulncheck.com /advisories/asyncssh-1.13.1-before-2.24.2-improper-authentication-via-host-based-auth-key-carry-over
- github.com /ronf/asyncssh/security/advisories/GHSA-4hgp-7gmx-wvfg