CVE-2026-138376: AsyncSSH 1.13.1 before 2.24.2 Improper Authentication via Host-Based Auth Key Carry-Over

Published Nov 29, 2026
·
Updated

AsyncSSH 1.13.1 before 2.24.2 contains an improper authentication vulnerability in SSHConnection.matchknownhosts that accumulates trusted client host keys across host-based authentication attempts on one connection. With trustclienthost 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.

Affected Software

1 affected component
pypi/asyncssh>=1.13.1<2.24.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.24.2

Event History

Nov 29, 2026
CVE Published
via MITRE·01:24 PM
Data Sourced
via MITRE·01:24 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which AsyncSSH deployments are exposed?

Deployments using AsyncSSH versions from 1.13.1 up to, but not including, 2.24.2 are affected when client host trust is enabled with trust_client_host.

2

What does an attacker need to exploit this issue?

The attacker needs the private key of one client host already known to the server. They can then make repeated host-based authentication attempts while naming another known host.

3

What access could exploitation provide?

An attacker may log in as users whose host-based authorization is restricted to the other named host, despite possessing only the private key for a different trusted client host.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203