Link following in Rsync - CVE-2026-53795
Published: August 13, 2026
Vulnerability details
The vulnerability allows a remote attacker to overwrite files outside the destination tree.
The vulnerability exists due to improper link resolution before file access in do_rename_at()/do_link_at() when handling transfers that use an absolute --temp-dir, an absolute --link-dest basis, or mixed-parent rename/link paths. A remote attacker can flip a destination parent component from a directory to a symlink mid-transfer to overwrite files outside the destination tree.
User interaction is required to initiate the transfer.