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.
https://www.vulncheck.com/advisories/rsync-arbitrary-file-write-via-temp-dir-link-dest
https://github.com/RsyncProject/rsync/security/advisories/GHSA-m9vj-637x-v6pq
Published: 2026-08-13
Updated: 2026-08-13
Base Score: 9.4
Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:C/A:C
Severity: High
Base Score: 8.1
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Severity: High
Base Score: 7.2
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Severity: High