Read the docs

Improper authentication in AsyncSSH host-based auth lets attackers log in

Priority HIGH 68CWE-287Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
High
Attack requirements
Present
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-287.

Summary

AsyncSSH from 1.13.1 before 2.24.2 has an improper authentication flaw in SSHConnection._match_known_hosts. The code keeps trusted client host keys across host-based authentication attempts on one connection. When trust_client_host is enabled, an attacker holding the private key of one known client host can retry naming another known host and log in as users authorized only from that host. The flaw is tracked as CWE-287.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00532 38th percentileScored 2026-11-30
Fix Fixed AsyncSSH (ronf): 2.24.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ronfAsyncSSH1.13.1 to before 2.24.22.24.2Patch availableCNA
  • AsyncSSH Vendorronf Affected 1.13.1 to before 2.24.2 Fixed in 2.24.2 Patch available CNA

Remediation

Upgrade AsyncSSH to version 2.24.2. The sources list no fixed version for AsyncSSH releases before 2.24.2 other than this one.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

  • Fix · CNA AsyncSSH (ronf) Fixed in 2.24.2

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Advisory ·

    ronf AsyncSSH — GitHub Security Advisory (GHSA-4hgp-7gmx-wvfg)

    2 records Highest priority Priority HIGH 1 HIGH, 1 LOW

    Other records, highest priority first

    • TI-2026-99534 Improper certificate validation in AsyncSSH lets remote clients authenticatePriority LOW 33

Timeline

  1. 2026-11-29 Threatist record created from CVE-2026-138376
  2. 2026-11-29 Alias added: GHSA-g8x2-2xvf-wjqh
  3. 2026-11-30 CISA SSVC decision points changed

References

  • TI-2026-87392 Chroot escape in AsyncSSH SFTP server lets users read and write files CVSS 3.1HIGH 8.8
  • TI-2026-99531 Argument injection in AsyncSSH ProxyCommand token substitution CVSS 4.0HIGH 7.7
  • TI-2026-39424 AsyncSSH AuthorizedKeysFile username substitution bypass through ~ and environment expansion CVSS 3.1MEDIUM 5.9
  • TI-2026-39425 AsyncSSH: SCP Path Traversal to Arbitrary File Write CVSS 3.1HIGH 8.1
  • TI-2026-99534 Improper certificate validation in AsyncSSH lets remote clients authenticate CVSS 4.0HIGH 7.6
  • TI-2026-87391 Path traversal in AsyncSSH SFTP copy lets servers write local files CVSS 3.1MEDIUM 6.5
See all 8 →

Sources