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.
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-phxh-hjqv-39c9 Vendor Advisory
- https://www.vulncheck.com/advisories/rsync-symlink-race-condition-via-acl-xattr-application Release Notes, Third Party Advisory