JLSEC-2026-1431: Race Condition
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 aclsetfile() 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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/rsync_jllto a version that resolves this vulnerability.Fixed in 3.5.0+0 - Upgrade
Upgrade
rsyncto a version that resolves this vulnerability.Fixed in 3.5.0
Event History
Frequently Asked Questions
Who can exploit this issue?
A local attacker with the ability to modify or substitute a symlink at a predictable rsync destination path during the race window can exploit it. The attacker must win the timing window between rsync writing a file and applying its ACLs or extended attributes.
What is the likely impact of successful exploitation?
An attacker can redirect ACL or extended-attribute application to files outside the intended destination tree. This may grant elevated permissions and enable local privilege escalation.
Are installations using this package affected by default?
The provided information identifies rsync versions before 3.5.0 as affected, but it does not state whether the julia/rsync_jll package ships an affected version or whether ACL or extended-attribute handling is enabled by default.
What should be done if an update cannot be applied immediately?
The provided information does not specify mitigations. Exposure depends on preventing untrusted local users from replacing predictable destination paths with crafted symlinks while rsync is running.