AsyncSSH 1.13.1 before 2.24.2 Improper Authentication via Host-Based Auth Key Carry-Over
CVE-2026-138376Published 29 Nov 2026, 13:24 UTC
Real-world risk
0.3/ 10Low
Routine
If the vulnerable configuration applies to you: 0.7
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.4
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| asyncsshNiche | >= 1.13.1, < 2.24.2 | 2.24.2 |
What to do
Update to a fixed version: 2.24.2.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | HighAdmin or equivalent | From the CVSS vector | 0.20 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.8% chance of exploitation in 30 days (percentile 57), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.041
- Threat T3: Public proof of concept0.950
- 10 × impact 0.8 × prerequisites 0.0405 × threat 0.950.308
- Rounded to one decimal between 0.1 and 100.3
Exploitation and evidence timeline
- 29 Nov 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 0.3 (cvss fallback)
Weakness
CWE-287
References
- https://github.com/ronf/asyncssh/security/advisories/GHSA-4hgp-7gmx-wvfgexploit, vendor-advisory
- https://github.com/ronf/asyncssh/commit/19731a172894f7d82fbb69cb477f6f3c2103bf97patch
- https://github.com/ronf/asyncssh/blob/v2.24.1/asyncssh/connection.py#L1274-L1298technical-description
- https://github.com/ronf/asyncssh/blob/v2.24.2/docs/changes.rstrelease-notes
- https://www.vulncheck.com/advisories/asyncssh-1.13.1-before-2.24.2-improper-authentication-via-host-based-auth-key-carry-overthird-party-advisory
- CVE-2026-138376 on CVE.org