CVE-2026-138376: AsyncSSH Improper Authentication
Published 2026-11-29 · Updated 2026-11-30 · Source disclosure@vulncheck.com
Not known to be exploited · medium severity — update AsyncSSH to 2.24.2 or later on your normal schedule.
What to do
- Update AsyncSSH to version 2.24.2 or later. Versions from 1.13.1 up to, but not including, 2.24.2 are affected.
- Until it is patched, restrict network access to AsyncSSH and review which accounts can log in to it.
- Remove the affected login or management interface from untrusted networks until the fix is applied.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| AsyncSSH | ≥ 1.13.1, < 2.24.2 | 2.24.2 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker needs administrative privileges, and no action by a victim is required. Attack complexity is high, so exploitation depends on conditions the attacker does not control. The impact on confidentiality and integrity is rated high.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | High | Success depends on conditions outside the attacker's control. |
| Privileges required | High | The attacker needs administrative privileges. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | High | Total loss of confidentiality. |
| Integrity | High | Total loss of integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
Weakness: Improper Authentication
The software does not properly verify who is making a request, which can let an attacker act as another user or bypass login entirely.
Classified as CWE-287.
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.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/ronf/asyncssh/commit/19731a172894f7d82fbb69cb477f6f3c2103bf97
- Advisoryhttps://github.com/ronf/asyncssh/security/advisories/GHSA-4hgp-7gmx-wvfg
- Advisoryhttps://www.vulncheck.com/advisories/asyncssh-1.13.1-before-2.24.2-improper-authentication-via-host-based-auth-key-carry-over
- Advisoryhttps://github.com/ronf/asyncssh/security/advisories/GHSA-4hgp-7gmx-wvfg
- Referencehttps://github.com/ronf/asyncssh/blob/v2.24.1/asyncssh/connection.py#L1274-L1298
- Referencehttps://github.com/ronf/asyncssh/blob/v2.24.2/docs/changes.rst