CVE-2026-49980: Rclone: Unauthenticated command execution in `rclone rcd --rc-serve` via inline remote instantiation, bypassing CVE-2026-41179 fix
Summary rclone rcd --rc-serve accepts unauthenticated GET and HEAD requests to paths of the form: The remote value is parsed from the URL and passed to normal backend initialization. Inline remote configuration can set backend options that execute local commands during initialization. As a result, a single unauthenticated GET or HEAD request can execute a command as the rclone process user.
Published Jun 16, 2026 · Updated Jul 21, 2026
Affected packages
github.com/rclone/rclone
- Ecosystem
- Go
- Affected
- >= 1.46.0, <= 1.74.2
- Fixed in
- 1.74.3
- Check
go list -m github.com/rclone/rclone
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
rclone rcd --rc-serve accepts unauthenticated GET and HEAD requests to paths of the form:
/[remote:path]/objectThe remote value is parsed from the URL and passed to normal backend initialization. Inline remote configuration can set backend options that execute local commands during initialization. As a result, a single unauthenticated GET or HEAD request can execute a command as the rclone process user.
Versions from 1.55.0 onwards are vulnerable to command execution. Earlier versions (from 1.46.0) are vulnerable to the unauthenticated local file read described under "Additional impact" but not to command execution, because inline backend option overrides did not exist until 1.55.0.
Preconditions
Preconditions for this vulnerability are:
- The rclone remote control API must be enabled, either by the
--rcflag or by running therclone rcdserver - The remote control API must be reachable by the attacker - by default rclone only serves the rc to localhost unless the
--rc-addrflag is in use - The rc must have been deployed without global RC HTTP authentication - so not using
--rc-user/--rc-pass/--rc-htpasswd/etc - The
--rc-serveflag must be in use
Impact
An unauthenticated network attacker who can reach the RC HTTP listener can execute commands as the rclone process user.
Additional impact observed during testing:
GETandHEADboth trigger backend initialization.- The same path allows unauthenticated local file read through inline
localremotes. - Inline
global.*options can mutate process-wide rclone configuration, includingglobal.http_proxy. - Browser subresource requests can also trigger the issue against a localhost-only RC listener. In testing, Firefox triggered the payload from a public HTTPS page containing only an `
tag pointing athttp://127.0.0.1:5572/...`. This is an additional impact multiplier, not the primary attack precondition.
Mitigations / Workarounds
- Upgrade to rclone 1.74.3 (or 1.75.0 when released).
- Or, configure HTTP authentication on the rc with
--rc-user/--rc-passor--rc-htpasswd, which has always been the recommended deployment. - Or, do not use
--rc-serveif file serving is not needed.
The Fix
The vulnerabilities in this advisory have been fixed by two commits:
- rc: fix unauthenticated command execution via
--rc-serveinline remotes - rc: stop
global.*connection string options changing config
Credited to kamil-sawicki, ncw.
References
- https://github.com/rclone/rclone/security/advisories/GHSA-qw24-gh76-8rvv
- https://nvd.nist.gov/vuln/detail/CVE-2026-49980
- https://access.redhat.com/security/cve/CVE-2026-49980
- https://bugzilla.redhat.com/show_bug.cgi?id=2492478
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-49980.json
- https://github.com/advisories/GHSA-qw24-gh76-8rvv
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-88018
rclone serve s3: --auth-proxy without --auth-key authenticates nobody - full SigV4 signature bypass
critical9.8Sep 10, 2026CVE-2026-88044
rclone: RC per-server auth-proxy bypass
critical9.1Sep 10, 2026CVE-2026-41176
Rclone: Unauthenticated options/set allows runtime auth bypass, leading to sensitive operations and command execution
critical9.8Apr 22, 2026CVE-2026-41179
RClone: Unauthenticated operations/fsinfo allows attacker-controlled backend instantiation and local command execution
critical9.8Apr 22, 2026
