rsync < 3.5.0 Arbitrary File Write via --temp-dir/--link-dest
RsyncProject rsync
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| RsyncProject rsync |
|
|
Original description
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.
From the CVE record · VulnCheck
References
- github.com/RsyncProject/rsync/security/advisories/GHSA-m9vj-637x-v6pqVendor advisory
- github.com/RsyncProject/rsync/releases/tag/v3.5.0Release notes
- vulncheck.com/advisories/rsync-arbitrary-file-write-via-temp-dir-link-destRelease notes
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53795.json
- nvd.nist.gov/vuln/detail/CVE-2026-53795
- github.com/RsyncProject/rsync