External Control of File Name or Path in AsyncSSH - #VU170791
Published: November 28, 2026
Vulnerability details
The vulnerability allows a remote attacker to create or overwrite unrequested files within the local download destination, potentially leading to code execution or persistent SSH access if the client later executes or trusts those files.
The vulnerability exists due to missing validation in the AsyncSSH SCP client when it accepts server-supplied names without checking them against the requested path. A remote attacker can supply unrequested files or, during a recursive download, directories from a malicious or compromised SCP server to cause unintended local writes.