CVE-2026-53799
7.2
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
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| RsyncProject | rsync | 0 <= 3.4.4 | affected |
| RsyncProject | rsync | 3.5.0 | unaffected |
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
References
- https://github.com/RsyncProject/rsync/security/advisories/GHSA-phxh-hjqv-39c9
- https://github.com/RsyncProject/rsync/releases/tag/v3.5.0
- https://www.vulncheck.com/advisories/rsync-symlink-race-condition-via-acl-xattr-application
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.