Rclone Unauthenticated options/set Allows Runtime Auth Bypass
Rclone is vulnerable to an unauthenticated options/set vulnerability that allows runtime authentication bypass, potentially leading to sensitive operations and command execution by setting `rc.NoAuth=true` on reachable RC servers started without global HTTP authentication.
Rclone, a command-line program to manage files on cloud storage, is vulnerable to an authentication bypass via its remote control (RC) API. The vulnerability, present from version 1.45 onwards, stems from the options/set endpoint being exposed without authentication requirements, while still being able to modify the global runtime configuration. An unauthenticated attacker can exploit this vulnerability by setting the rc.NoAuth parameter to true, effectively disabling the authentication gate for numerous RC methods registered with AuthRequired: true. This allows unauthorized access to sensitive administrative functionality, including configuration settings and operational commands. The issue was validated against v1.73.4 and the current master branch as of April 14, 2026. This vulnerability is especially critical when the RC API is exposed without global HTTP authentication (i.e. --rc-user/--rc-pass are not set), as it allows complete control of the Rclone instance.
Attack Chain
- An attacker identifies a vulnerable Rclone instance with the RC API enabled (via
--rcorrclone rcd) that is reachable on the network. The attacker confirms that the RC API is not protected by global HTTP authentication (no--rc-user,--rc-pass, or--rc-htpasswdflags). - The attacker sends an unauthenticated POST request to the
/options/setendpoint with a JSON payload settingrc.NoAuthtotrue:{"rc":{"NoAuth":true}}. - The Rclone RC server processes the request and updates the runtime configuration, disabling the authentication requirement for subsequent RC calls.
- The attacker leverages the now-unprotected RC API to access sensitive configuration data using endpoints like
/config/listremotes,/config/dump, or/config/get. - The attacker can list the available filesystems and remote configurations.
- The attacker then uses operational endpoints such as
/operations/listto list files and directories within a configured remote. - The attacker exploits the
/operations/copyfileendpoint to copy files from one location to another, potentially exfiltrating sensitive data or overwriting critical files. - Finally, the attacker uses the
/core/commandendpoint to execute arbitrary commands on the host system, achieving complete system compromise. This endpoint utilizes theexec.Command(...)function, allowing arbitrary command execution.
Impact
Successful exploitation of this vulnerability allows an unauthenticated attacker to bypass intended access controls on the Rclone RC administrative interface. The impact ranges from sensitive configuration disclosure and filesystem enumeration to arbitrary command execution on the host system. This could lead to complete system compromise, data exfiltration, or denial of service. The vulnerability affects Rclone instances from version 1.45 up to (but not including) 1.73.5. The severity is amplified when the RC API is exposed to a wider network without proper authentication measures.
Recommendation
- Upgrade Rclone to version 1.73.5 or later to patch CVE-2026-41176.
- If upgrading is not immediately feasible, ensure that the Rclone RC API is protected by global HTTP authentication using the
--rc-user,--rc-pass, or--rc-htpasswdflags. - Monitor network traffic for POST requests to the
/options/setendpoint without authentication, indicative of exploitation attempts. Deploy the provided Sigma rule to detect this activity. - Review Rclone RC API access logs for unauthorized access to sensitive endpoints such as
/config/listremotes,/config/dump,/config/get,/operations/list,/operations/copyfile, and/core/commandafter the/options/setendpoint has been accessed.
Detection coverage 2
Detect Rclone Unauthenticated options/set
highDetects unauthenticated POST requests to the `/options/set` endpoint of the Rclone RC API, used to disable authentication.
Detect Rclone Core Command Execution via RC API
criticalDetects POST requests to the `/core/command` endpoint of the Rclone RC API, indicating potential command execution.
Detection queries are kept inside the platform. Get full rules →