All vulnerabilities

PyPI

CVE-2026-138376

AsyncSSH 1.13.1 before 2.24.2 Improper Authentication via Host-Based Auth Key Carry-Over

Severity
High 7.4
Published
29 Nov 2026
Last changed
29 Nov 2026
Added to UpHeron
29 Nov 2026
Fixed in
2.24.2
Weakness
Improper authentication (CWE-287)
Attack
Over the network · Only under certain conditions · Needs an administrator account · No user action needed
Attacker can
Read data · Change data
CVSS vector
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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
asyncsshPyPI · osv:PyPI:asyncssh
  • From 1.13.1 before 2.24.2

About asyncssh

Weekly downloads (PyPI)
3,802,373PyPI Stats, 29 Nov 2026

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-138376