External Control of File Name or Path in AsyncSSH - #VU170791

 

External Control of File Name or Path in AsyncSSH - #VU170791

Published: November 28, 2026


Vulnerability identifier: #VU170791
CSH Severity: Medium
CVSS v4: 5.6 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-73
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

AsyncSSH

Remediation

Install security update from vendor's website.

AsyncSSH - update to 2.24.2

External References

Related Security Bulletins