# CVE-2026-138376: AsyncSSH 1.13.1 before 2.24.2 Improper Authentication via Host-Based Auth Key Carry-Over

- Severity: High 7.4 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.77%, higher than 56% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-29T13:24:19.874Z
- Modified: 2026-11-30T15:17:25.467Z
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- ronf AsyncSSH: from 1.13.1 before 2.24.2

## Every score

- VulnCheck: CVSS:4.0 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:N`
- VulnCheck: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/ronf/asyncssh/security/advisories/GHSA-4hgp-7gmx-wvfg> (exploit, vendor-advisory)
- <https://github.com/ronf/asyncssh/commit/19731a172894f7d82fbb69cb477f6f3c2103bf97> (patch)
- <https://github.com/ronf/asyncssh/blob/v2.24.1/asyncssh/connection.py#L1274-L1298> (technical-description)
- <https://github.com/ronf/asyncssh/blob/v2.24.2/docs/changes.rst> (release-notes)
- <https://www.vulncheck.com/advisories/asyncssh-1.13.1-before-2.24.2-improper-authentication-via-host-based-auth-key-carry-over> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-138376](https://www.cve.org/CVERecord?id=CVE-2026-138376), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-138376](https://nvd.nist.gov/vuln/detail/CVE-2026-138376), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-138376 · Whole record: https://cve.day/CVE-2026-138376.json · Rebuilt by cve.day 2026-11-30T15:32:28.666Z
