JLSEC-2026-1433: Race Condition
rsync before 3.5.0 contains a symlink race condition vulnerability in the sender's directory scanning logic that allows attackers to cause the sender to enumerate and transfer files outside the module root's intended subtree. Attackers who can create or manipulate symlinks in a path component of the scanned tree can replace a symlink with a directory entry pointing outside the module root between the lstat() call and the subsequent opendir() call, exposing files beyond the intended root in both daemon-mode and non-daemon sender-side scanning.
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
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker must be able to create or manipulate symlinks in a path component within the tree being scanned by the rsync sender. The issue affects sender-side scanning in both daemon mode and non-daemon operation.
What could be exposed if exploitation succeeds?
The sender can enumerate and transfer files outside the module root's intended subtree. Confidentiality is affected because files beyond the intended root may be exposed; the provided data does not indicate integrity or availability impact.
What condition makes the race possible?
The attacker must win a timing race by replacing a symlink with a directory entry pointing outside the module root after rsync performs lstat() but before it calls opendir(). This corresponds to a high attack-complexity network issue with no required privileges or user interaction.
Which versions should be remediated?
Rsync versions before 3.5.0 are affected according to the provided information. Update to rsync 3.5.0 or later where possible.