CVE-2026-138377

AsyncSSH 1.13.1 before 2.24.2 Improper Certificate Validation via known_client_hosts

Published Nov 29, 2026 CVSS 4.0 · 7.6 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

AsyncSSH versions 1.13.1 up to 2.24.1 contain an improper certificate validation flaw that allows a remote client to authenticate as a user by manipulating the known_client_hosts store. The vulnerability enables an attacker to perform a failed host‑based authentication with any host key, then add host‑only CA certificates to the trust anchors and subsequently use user certificates issued under those CAs to log in. This can result in unauthorized access with the privileges of the target user. The weakness is classified as CWE‑295, which highlights a lack of proper certificate validation.

Affected Systems

All deployments of the AsyncSSH project using any version from 1.13.1 through 2.24.1 are impacted. The vulnerability is tied to the AsyncSSH library, which is widely used in Python applications that rely on SSH connectivity. Upgrading to version 2.24.2 or later resolves the issue.

Risk and Exploitability

The CVSS score of 7.6 indicates high severity. While an EPSS score is not available, the vulnerability is not listed in CISA’s KEV catalog, suggesting no publicly available exploits at the time of this analysis. The attack vector is remote over the network; any client that can connect to an SSH service running vulnerable AsyncSSH can potentially bypass authentication as described. The overall risk is significant for systems that rely on user certificate authentication and accept untrusted host certificates via known_client_hosts.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade AsyncSSH to version 2.24.2 or newer, which implements proper certificate validation in known_client_hosts.
  • Review the known_client_hosts configuration and remove any host‑only CA certificates that are not trusted; avoid adding arbitrary CAs to the trust store.
  • Disable or restrict the use of user certificates for authentication when possible, or enforce additional verification steps to confirm certificate validity before granting access.

Generated by OpenCVE AI on November 29, 2026 at 14:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title AsyncSSH 1.13.1 before 2.24.2 Improper Certificate Validation via known_client_hosts
First Time appeared Asyncssh Project
Asyncssh Project asyncssh
Weaknesses CWE-295
CPEs cpe:2.3:a:asyncssh_project:asyncssh:*:*:*:*:*:*:*:*
Vendors & Products Asyncssh Project
Asyncssh Project asyncssh
References
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 7.6, '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'}

Weaknesses
  • CWE-295

    Improper Certificate Validation

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 29, 2026, 1:24 PM
Reserved
Nov 29, 2026, 1:09 PM
Status
Awaiting Analysis
Published
Nov 29, 2026, 2:17 PM
Modified
Nov 29, 2026, 2:17 PM