Description
rsync before 3.5.0 contains a symlink race condition vulnerability that allows local attackers to cause rsync to apply arbitrary ACLs or extended attributes to unintended files by substituting a symlink at a predictable destination path between the file write and the subsequent acl_set_file() or lsetxattr() call. Attackers can exploit this timing window to redirect ACL and xattr application through a crafted symlink to files outside the intended destination tree, potentially granting elevated permissions and enabling local privilege escalation.
Severity (CVSS)
| Base score | 7.2 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-59 — CWE-59 Improper Link Resolution Before File Access ('Link Following')
- CWE-367 — CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Affected products
| Vendor | Product | Versions |
|---|---|---|
| RsyncProject | rsync | 0 to <=3.4.4; 3.5.0 |
References
- https://github.com/RsyncProject/rsync/security/advisories/GHSA-phxh-hjqv-39c9 (vendor-advisory)
- https://github.com/RsyncProject/rsync/releases/tag/v3.5.0 (release-notes)
- https://www.vulncheck.com/advisories/rsync-symlink-race-condition-via-acl-xattr-application (third-party-advisory)
Generated from the official CVE List on 14 Aug 2026 07:02 UTC.