CVE-2026-138376

high

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.

References

https://www.vulncheck.com/advisories/asyncssh-1.13.1-before-2.24.2-improper-authentication-via-host-based-auth-key-carry-over

https://github.com/ronf/asyncssh/security/advisories/GHSA-4hgp-7gmx-wvfg

https://github.com/ronf/asyncssh/commit/19731a172894f7d82fbb69cb477f6f3c2103bf97

https://github.com/ronf/asyncssh/blob/v2.24.2/docs/changes.rst

https://github.com/ronf/asyncssh/blob/v2.24.1/asyncssh/connection.py#L1274-L1298

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-137775

Details

Source: Mitre, NVD

Published: 2026-11-29

Updated: 2026-11-30

Risk Information

CVSS v2

Base Score: 8.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:C/A:N

Severity: High

CVSS v3

Base Score: 5.9

Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N

Severity: Medium

CVSS v4

Base Score: 7.4

Vector: 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

Severity: High

EPSS

EPSS: 0.00532