
Catalogue CVE
CVE-2026-138376
python-asyncssh affected and fixed versions
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.
- Gravité
- High · CVSS 4.0 · 7.4
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.77% · Dec 4, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiantrixie | python-asyncssh | Not reported | AffectedDistribution reports no fix | [CVE-2026-138376] |
| Debiantrixie | python-asyncssh | 2.20.0-1 | Affected | [CVE-2026-138376] |
| Debiansid | python-asyncssh | Not reported | AffectedDistribution reports no fix | [CVE-2026-138376] |
| Debiansid | python-asyncssh | 2.24.0-2 | Affected | [CVE-2026-138376] |
| Ubuntupro | python-asyncssh | 2.10.1-2 | Affected | [UBUNTU-CVE-2026-138376] |
| Ubuntupro | python-asyncssh | 2.10.1-2ubuntu0.1 | Affected | [UBUNTU-CVE-2026-138376] |
| Ubuntupro | python-asyncssh | 2.10.1-2ubuntu0.1+esm1 | Affected | [UBUNTU-CVE-2026-138376] |
| Debianforky | python-asyncssh | Not reported | AffectedDistribution reports no fix | [CVE-2026-138376] |
| Debianforky | python-asyncssh | 2.24.0-2 | Affected | [CVE-2026-138376] |
| Debianbookworm-security | python-asyncssh | 2.10.1-2+deb12u1 | Affected | [CVE-2026-138376] |
| Debianbookworm | python-asyncssh | Not reported | AffectedDistribution reports no fix | [CVE-2026-138376] |
| Debianbookworm | python-asyncssh | 2.10.1-2+deb12u2 | Affected | [CVE-2026-138376] |
More observations (10)
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Ubuntu16.04 | python-asyncssh | 1.2.0-1 | Affected | [UBUNTU-CVE-2026-138376] |
| Ubuntu16.04 | python-asyncssh | 1.2.1-1 | Affected | [UBUNTU-CVE-2026-138376] |
| Ubuntu16.04 | python-asyncssh | 1.3.0-1 | Affected | [UBUNTU-CVE-2026-138376] |
| Ubuntu20.04 | python-asyncssh | 1.12.2-1 | Affected | [UBUNTU-CVE-2026-138376] |
| Ubuntu20.04 | python-asyncssh | 1.12.2-1ubuntu0.1 | Affected | [UBUNTU-CVE-2026-138376] |
| Ubuntu20.04 | python-asyncssh | 1.12.2-1ubuntu0.2 | Affected | [UBUNTU-CVE-2026-138376] |
| Ubuntu26.04 | python-asyncssh | 2.20.0-1 | Affected | [UBUNTU-CVE-2026-138376] |
| Ubuntu26.04 | python-asyncssh | 2.21.1-1 | Affected | [UBUNTU-CVE-2026-138376] |
| Ubuntu26.10 | python-asyncssh | 2.21.1-1 | Affected | [UBUNTU-CVE-2026-138376] |
| Ubuntu26.10 | python-asyncssh | 2.23.0-1 | Affected | [UBUNTU-CVE-2026-138376] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-asyncssh]Affectée
Paquet source: [python-asyncssh]
Détails (4)
2.10.1-2+deb12u2· all · bookwormAffectée
dsa · python-asyncssh · debian · bookworm; pypi · python-asyncssh · debian · 12
2.10.1-2+deb12u2· all · bookwormAffectée
dsa · python-asyncssh · debian · bookworm; pypi · python-asyncssh · debian · 12
2.10.1-2+deb12u1· all · bookworm-securityAffectée
dsa · python-asyncssh · debian · bookworm; pypi · python-asyncssh · debian · 12
2.10.1-2+deb12u1· all · bookworm-securityAffectée
dsa · python-asyncssh · debian · bookworm; pypi · python-asyncssh · debian · 12
- [python-asyncssh-doc]Affectée
Paquet source: [python-asyncssh]
Détails (4)
2.10.1-2+deb12u2· all · bookwormAffectée
dsa · python-asyncssh · debian · bookworm; pypi · python-asyncssh · debian · 12
2.10.1-2+deb12u2· all · bookwormAffectée
dsa · python-asyncssh · debian · bookworm; pypi · python-asyncssh · debian · 12
2.10.1-2+deb12u1· all · bookworm-securityAffectée
dsa · python-asyncssh · debian · bookworm; pypi · python-asyncssh · debian · 12
2.10.1-2+deb12u1· all · bookworm-securityAffectée
dsa · python-asyncssh · debian · bookworm; pypi · python-asyncssh · debian · 12
[Debian 13 (Trixie)]
- [python3-asyncssh]Affectée
Paquet source: [python-asyncssh]
Détails (2)
2.20.0-1· all · trixieAffectée
pypi · python-asyncssh · debian · 13
2.20.0-1· all · trixieAffectée
pypi · python-asyncssh · debian · 13
- [python-asyncssh-doc]Affectée
Paquet source: [python-asyncssh]
Détails (2)
2.20.0-1· all · trixieAffectée
pypi · python-asyncssh · debian · 13
2.20.0-1· all · trixieAffectée
pypi · python-asyncssh · debian · 13
Observé:
Références
- [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://nvd.nist.gov/vuln/detail/CVE-2026-138376]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-138376]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-138376]
- [https://security-tracker.debian.org/tracker/CVE-2026-138376]
- [https://www.vulncheck.com/advisories/asyncssh-1.13.1-before-2.24.2-improper-authentication-via-host-based-auth-key-carry-over]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database]