CVE-2026-144666: AsyncSSH before 2.24.2 Arbitrary File Write via SCP Client Download

Published Dec 4, 2026
·
Updated

AsyncSSH before 2.24.2 contains an arbitrary file write vulnerability in the SCP client that allows malicious servers to write unrequested files by not validating that returned names match the requested path. Attackers controlling an SCP server can send files such as .bashrc or a .ssh directory with authorizedkeys to gain code execution or persistent SSH access on the client.

Affected Software

1 affected component
pypi/asyncssh<2.24.2

Event History

Dec 4, 2026
CVE Published
via MITRE·01:08 AM
Data Sourced
via MITRE·01:08 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Clients using AsyncSSH versions before 2.24.2 are exposed when they download files using the SCP client from an attacker-controlled or otherwise malicious SCP server.

2

What must an attacker do to exploit it?

The attacker must control the SCP server contacted by the client and return file or directory names that do not match the path requested by the client. No client privileges are required by the vulnerability data, but user interaction is required.

3

What is the potential impact on the client?

A malicious server can write unrequested files, including shell startup files such as .bashrc or SSH configuration content such as a .ssh directory containing authorized_keys. This can lead to code execution or persistent SSH access on the client.

4

How can this be remediated?

Upgrade AsyncSSH to version 2.24.2 or later.

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