ZeroDay Brief
CVE-2026-138376

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…

CVSS
5.9Medium
Chance of exploitation (EPSS)
0.77%
Published
Nov 29, 2026
In the news
Not yet
More from this vendor

What to do

A moderate authentication flaw in Ronf Asyncssh that can be attacked over the network by someone with an account. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Fixed in: 2.24.2

Affected versions
Ronf Asyncssh
1.13.1 to before 2.24.2

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.

CWE-287

Affected products

Get alerts for these →

Timeline 4

Latest change: Tenable Cloud Security plugin 486218: Echo: python-asyncssh: security update to 2.20.0-1+e5 (Nov 30, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

References 6

  • github.com /ronf/asyncssh/blob/v2.24.1/asyncssh/connection.py#L1274-L1298
  • github.com /ronf/asyncssh/blob/v2.24.2/docs/changes.rst
  • github.com /ronf/asyncssh/commit/19731a172894f7d82fbb69cb477f6f3c2103bf97
  • github.com /ronf/asyncssh/security/advisories/GHSA-4hgp-7gmx-wvfg
  • www.vulncheck.com /advisories/asyncssh-1.13.1-before-2.24.2-improper-authentication-via-host-based-auth-key-carry-over
  • github.com /ronf/asyncssh/security/advisories/GHSA-4hgp-7gmx-wvfg

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”