JLSEC-2026-1427: High severity julia/rsync_jll vulnerability
rsync before 3.5.0 contains an arbitrary file write vulnerability that allows attackers to write files outside the intended destination tree by specifying an absolute path via --temp-dir or --link-dest options. The rename-confinement logic is bypassed when these options resolve to paths outside the destination tree, enabling attacker-controlled values to write files to arbitrary locations accessible to the rsync process.
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
What conditions are required for exploitation?
An attacker must be able to supply an absolute path through rsync's --temp-dir or --link-dest option and induce a user to run the operation. The affected rsync process must have permission to write to the attacker-selected location.
Are default rsync invocations affected?
The issue is tied to use of --temp-dir or --link-dest with paths that resolve outside the intended destination tree. The provided information does not indicate that a default invocation without those options is affected.
What can be done if upgrading is not immediately possible?
Do not allow untrusted parties to control --temp-dir or --link-dest values, and avoid absolute paths for these options when they could resolve outside the destination tree. Run rsync with the minimum filesystem permissions needed to limit locations it can write.
How can I identify potentially affected usage?
Review rsync commands and automation for --temp-dir or --link-dest, especially where their values are externally supplied or can resolve outside the destination tree. Systems using rsync versions before 3.5.0 are affected according to the provided data.