Improper Authentication Affecting python-asyncssh package, versions <2.20.0-1+e5


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.77% (57th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-PYTHONASYNCSSH-23053996
  • published30 Nov 2026
  • disclosed29 Nov 2026

Introduced: 29 Nov 2026

NewCVE-2026-138376  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade Echo:latest python-asyncssh to version 2.20.0-1+e5 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-asyncssh package and not the python-asyncssh package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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 Base Scores

version 3.1