Link following in AsyncSSH - #VU170786
Published: November 28, 2026
Vulnerability details
The vulnerability allows a remote attacker to create or overwrite files outside the requested download directory, potentially causing data loss.
The vulnerability exists due to improper symbolic link resolution in the AsyncSSH SFTP client when recursive downloads check link targets without accounting for links already created during the transfer. A remote attacker can supply chained symbolic links from a malicious SFTP server to redirect file writes outside the requested directory when a victim performs a recursive download.