JLSEC-2026-1417: Path Traversal
rsync before 3.5.0 contains a path traversal vulnerability that allows remote clients to access files outside the intended module root when use chroot is disabled and the module root path or a component of it is a symlink. The daemon calls chdir() to the module root at session initialization without resolving symlinks via realpath() or equivalent, causing subsequent relative-path operations to reference files relative to the symlink target rather than the intended module root, enabling unauthorized file access.
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
Which deployments are exposed to this issue?
Rsync daemon deployments are exposed when they use a version before 3.5.0, have chroot disabled for a module, and the module root path or one of its path components is a symlink. The affected software entry is julia/rsync_jll.
What does an attacker need to exploit it?
An attacker needs to be able to act as a remote rsync client against an affected daemon module. Exploitation depends on the module's chroot setting being disabled and its configured root resolving through a symlink.
Does the default configuration appear to be affected?
The provided data does not establish whether chroot is disabled by default. The vulnerable condition specifically requires that use chroot is disabled.
What can be done if upgrading is not immediately possible?
Enable chroot for affected rsync modules and avoid module root paths that are symlinks or contain symlink components. These changes remove the conditions described for exploitation.
How can I determine whether a module is affected?
Check whether the rsync version is earlier than 3.5.0, whether the module has use chroot disabled, and whether its root path or any component in that path is a symlink. A module meeting all of these conditions is affected.