CVE-2026-138376
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 7.4 (HIGH)
CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityHigh
Attack RequirementsPresent
Privileges RequiredHigh
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 5.9)
CVSS v3.1 Base Metrics — Score 5.9 (MEDIUM)
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:NAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredHigh
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityNone
Affected & Patched Versions
- ronf AsyncSSH >= 1.13.1 and < 2.24.2
- ronf AsyncSSH 2.24.2
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run ronf AsyncSSH and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 29, 2026Published
- Nov 29, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new ronf AsyncSSH CVEsYou are reading CVE-2026-138376. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Vendor Advisoryhttps://github.com/ronf/asyncssh/security/advisories/GHSA-4hgp-7gmx-wvfg
- Patchhttps://github.com/ronf/asyncssh/commit/19731a172894f7d82fbb69cb477f6f3c2103bf97
- Referencehttps://github.com/ronf/asyncssh/blob/v2.24.1/asyncssh/connection.py#L1274-L1298
- Referencehttps://github.com/ronf/asyncssh/blob/v2.24.2/docs/changes.rst
- Referencehttps://www.vulncheck.com/advisories/asyncssh-1.13.1-before-2.24.2-improper-authentication-via-host-based-auth-key-carry-over
Data last checked: Nov 29, 2026 22:08 UTC