GO-2026-4964: Rclone: Unauthenticated options/set allows runtime auth bypass, leading to sensitive operations and command execution
Rclone is a command-line program to sync files and directories to and from different cloud storage providers. The RC endpoint options/set is exposed without AuthRequired: true, but it can mutate global runtime configuration, including the RC option block itself. Starting in version 1.45.0 and prior to version 1.73.5, an unauthenticated attacker can set rc.NoAuth=true, which disables the authorization gate for many RC methods registered with AuthRequired: true on reachable RC servers that are started without global HTTP authentication. This can lead to unauthorized access to sensitive administrative functionality, including configuration and operational RC methods. Version 1.73.5 patches the issue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
rcloneto a version that resolves this vulnerability.Fixed in 1.73.5
Event History
Frequently Asked Questions
Which deployments are exposed to unauthenticated exploitation?
Reachable RC servers running Rclone from version 1.45.0 through versions before 1.73.5 are exposed when they are started without global HTTP authentication. The issue depends on an attacker being able to reach the RC endpoint.
What does an attacker need to do to bypass authorization?
An unauthenticated attacker can invoke the options/set RC endpoint and set rc.NoAuth=true. This disables the authorization gate for many RC methods that would normally require authorization.
What should be done to remediate the issue?
Upgrade Rclone to version 1.73.5, which patches the issue. Until patched, prioritize RC servers that are reachable without global HTTP authentication.