JLSEC-2026-1699: rclone before 1.74.4 fails to mask special permission bits when applying source-supplied mode...
rclone before 1.74.4 fails to mask special permission bits when applying source-supplied mode metadata in the local backend, allowing attackers to set setuid/setgid bits on attacker-controlled files. When copying with metadata preservation from an untrusted remote, attackers can plant a setuid binary that escalates privileges to root if rclone runs as root, or to the service account user otherwise.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/Rclone_jllto a version that resolves this vulnerability.Fixed in 1.75.0+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Who is exposed to privilege escalation?
Systems are exposed when rclone runs with elevated privileges and copies from an untrusted remote using metadata preservation through the local backend. If rclone runs as root, a planted setuid binary can escalate to root; otherwise, escalation is limited to the account running the rclone service.
What must an attacker be able to do?
An attacker needs control over files and their mode metadata on a remote that is treated as untrusted, and must induce or wait for those files to be copied with metadata preservation enabled. The attack relies on rclone applying attacker-supplied special permission bits to local files.
Is user interaction required?
The supplied severity vector indicates user interaction is required. The described risky action is copying content from an untrusted remote while preserving metadata.