CVE-2026-144666: AsyncSSH before 2.24.2 Arbitrary File Write via SCP Client Download
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
Event History
Frequently Asked Questions
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.
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.
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.
How can this be remediated?
Upgrade AsyncSSH to version 2.24.2 or later.