GO-2026-5466: RClone: Unauthenticated operations/fsinfo allows attacker-controlled backend instantiation and local command execution
Rclone is a command-line program to sync files and directories to and from different cloud storage providers. Starting in version 1.48.0 and prior to version 1.73.5, the RC endpoint operations/fsinfo is exposed without AuthRequired: true and accepts attacker-controlled fs input. Because rc.GetFs(...) supports inline backend definitions, an unauthenticated attacker can instantiate an attacker-controlled backend on demand. For the WebDAV backend, bearertokencommand is executed during backend initialization, making single-request unauthenticated local command execution possible on reachable RC deployments without global HTTP authentication. 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 - Configuration
Require HTTP authentication for the operations/fsinfo RC endpoint by setting AuthRequired to true.
RC endpoint operations/fsinfo AuthRequired = true
Event History
Frequently Asked Questions
Which deployments are exposed to unauthenticated exploitation?
Reachable Rclone RC deployments without global HTTP authentication are exposed. The vulnerable endpoint is operations/fsinfo, which is accessible without AuthRequired set to true.
What does an attacker need to exploit this issue?
An attacker needs network access to a reachable vulnerable RC deployment. No credentials or user interaction are required, and exploitation can be performed in a single request by supplying an attacker-controlled fs value.
Why can the fs parameter lead to command execution?
The endpoint passes attacker-controlled fs input to rc.GetFs, which supports inline backend definitions. An attacker can instantiate a WebDAV backend whose bearer_token_command is executed during backend initialization.
What versions need remediation?
Rclone versions starting with 1.48.0 and prior to 1.73.5 are affected. Upgrade to version 1.73.5, which patches the issue.
What can be done if an upgrade cannot happen immediately?
Prevent untrusted network access to the RC service and enable global HTTP authentication. This removes the unauthenticated access condition described for exploitation.