RsyncProject rsync
rsync < 3.5.0 Arbitrary File Deletion via Malicious File List
rsync before 3.5.0 contains an improper path handling vulnerability that allows a malicious sender to expand the scope of --delete operations beyond the intended destination subtree by sending a crafted file list that causes rsync to reclassify implied parent directory entries or treat synthetic paths as the transfer root. Attackers can exploit multiple variants including implied parent reclassification, synthetic root path construction, legacy protocol behavior below version 30, and non-directory root handling to cause the receiver to delete files outside the authorized destination directory.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 3.4.4
Fixed in 3.5.0
Mitigation
Upgrade rsync to 3.5.0 or later.
References
- Vendor advisory github.com/RsyncProject/rsync/security/advisor…
- Release notes github.com/RsyncProject/rsync/releases/tag/v3.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.