CVE-2026-138376
Awaiting Analysis Awaiting Analysis - Queue

AsyncSSH Host-Based Authentication Key Trust Bypass

Vulnerability report for CVE-2026-138376, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-29

Last updated on: 2026-11-29

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-29
Last Modified
2026-11-29
Generated
2026-11-29
AI Q&A
2026-11-29
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
ronf AsyncSSH From 1.13.1 (inc) to 2.24.2 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-287 When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

AsyncSSH 1.13.1 before 2.24.2 has an improper authentication flaw in SSHConnection._match_known_hosts. When trust_client_host is enabled, the system incorrectly accumulates trusted client host keys across multiple host-based authentication attempts on a single connection. Attackers with a private key for one trusted host can retry authentication under a different host identity and potentially gain unauthorized access to accounts restricted to those hosts.

Detection Guidance

To detect this vulnerability, check if your AsyncSSH version is between 1.13.1 and 2.24.1. Run: sshd -T | grep -i asyncssh or check installed package versions like pip show asyncssh or dpkg -l | grep asyncssh.

Impact Analysis

This vulnerability allows attackers with access to a private key of a trusted client host to bypass host-based authentication restrictions. They could impersonate other trusted hosts on the same connection, potentially gaining unauthorized access to user accounts configured to accept connections only from specific hosts. The impact includes unauthorized account access and potential data breaches.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating confidentiality requirements in GDPR and HIPAA. Organizations using affected AsyncSSH versions may fail compliance audits due to inadequate access controls and authentication mechanisms, potentially resulting in regulatory penalties and loss of trust.

Mitigation Strategies
  • Upgrade AsyncSSH to version 2.24.2 or later immediately.
  • Disable trust_client_host in your AsyncSSH configuration if host-based authentication is not required.
  • Avoid relying on client_host in validate_host_based_user() functions for access control.
  • Do not list X.509 certificates in known_client_hosts if your server accepts X.509 user certificates.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-138376. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...