rsync before 3.5.0 contains an arbitrary file write vulnerability that allows attackers to write files outside the intended destination tree by specifying an absolute path via --temp-dir or --link-dest options. The rename-confinement logic is bypassed when these options resolve to paths outside the destination tree, enabling attacker-controlled values to write files to arbitrary locations accessible to the rsync process.
Fix
Patch, vendor advisory and mitigation references on NVD 1
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 7.2 · sambaNVD modified 2026-10-23 18:10
Affected (CPE criteria) 1
cpe:2.3:a:samba:rsync:*:*:*:*:*:*:*:*
References 3
- https://github.com/RsyncProject/rsync/releases/tag/v3.5.0 Product, Release Notes
- https://github.com/RsyncProject/rsync/security/advisories/GHSA-m9vj-637x-v6pq Vendor Advisory
- https://www.vulncheck.com/advisories/rsync-arbitrary-file-write-via-temp-dir-link-dest Release Notes, Third Party Advisory