Skip to main content
CVE-2026-138376VulnerabilityPublished

AsyncSSH 1.13.1 before 2.24.2 contains an improper authentication vulnerability in SSHConnection._match_known_hosts

Affects asyncsshSource GCVE Database

0
Compare
Authoritative record:CVE-2026-138376· High 7.4

Not known to be exploited · CVSS 7.4 High : upgrade to 2.24.2 soon.

Data as of 29 Nov 2026, 16:59 UTC

CVSS 4.0 base score
7.4High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.07.4
CNA (VulnCheck)CVSS 3.15.9
Patch
Available – fixed in 2.24.2
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Nov 2026.

What to do

Upgrade asyncssh to 2.24.2.

Affected software

ProductAffectedFixed in
PyPIasyncsshpkg:pypi/asyncsshOther threatsAffected
  • <2.24.2 >=1.13.1
Fixed in
  • 2.24.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade AsyncSSH to version 2.24.2 or later, where this vulnerability is fixed. No other mitigation is indicated or required according to the available data.

Description

AsyncSSH versions from 1.13.1 up to but not including 2.24.2 contain an improper authentication vulnerability in the SSHConnection._match_known_hosts method. This flaw allows accumulation of trusted client host keys across host-based authentication attempts on a single connection. When the trust_client_host option is enabled, an attacker with access to one known client host's private key can attempt to impersonate another known host and gain unauthorized access as users authorized only from that other host. The vulnerability has a medium severity with a CVSS score of 5.9 and was fixed in version 2.24.2.

References

Community reviews

Loading reviews…