All vulnerabilities

PyPI

CVE-2026-138377

AsyncSSH 1.13.1 before 2.24.2 Improper Certificate Validation via known_client_hosts

Severity
High 7.6
Published
29 Nov 2026
Last changed
29 Nov 2026
Added to UpHeron
29 Nov 2026
Fixed in
2.24.2
Weakness
Improper certificate validation (CWE-295)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/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 certificate validation vulnerability that allows remote clients to authenticate as users by abusing X.509 certificates matched in known_client_hosts. Attackers can make a failed host-based authentication attempt with any host key, adding host-only CA certificates to the trust anchors, then authenticate using user certificates issued under those CAs.

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-138377