Skip to main content

CVE-2026-49980 — Vulnerability in github.com/rclone/rclone

CRITICAL

Rclone: Unauthenticated command execution in `rclone rcd --rc-serve` via inline remote instantiation, bypassing CVE-2026-41179 fix

Published June 16, 2026Updated September 10, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (2.78%). Schedule for your next planned update.

Does your project use an affected github.com/rclone/rclone version?

Paste your go.sum to check it for CVE-2026-49980 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my go.sum

Summary

Summary

rclone rcd --rc-serve accepts unauthenticated GET and HEAD requests to paths of the form:

/[remote:path]/object

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.

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 --rc flag or by running the rclone rcd server
  • The remote control API must be reachable by the attacker - by default rclone only serves the rc to localhost unless the --rc-addr flag 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-serve flag 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:

  • GET and HEAD both trigger backend initialization.
  • The same path allows unauthenticated local file read through inline local remotes.
  • Inline global.* options can mutate process-wide rclone configuration, including global.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 <img> tag pointing at http://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-pass or --rc-htpasswd, which has always been the recommended deployment.
  • Or, do not use --rc-serve if 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-serve inline remotes
  • rc: stop global.* connection string options changing config

Advisory Timeline

  • First published June 16, 2026 (162 days ago).
  • Last revised September 10, 2026 — 85 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/rclone/rclone to 1.74.3 or later
go get github.com/rclone/rclone@v1.74.3

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: Go (1).

PackageFixed In
github.com/rclone/rclone Go · Affected: All versions1.74.3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2026-49980?
Rclone: Unauthenticated command execution in `rclone rcd --rc-serve` via inline remote instantiation, bypassing CVE-2026-41179 fix. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2026-49980?
CVE-2026-49980 affects github.com/rclone/rclone. It has a 2.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-49980 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
2.78%
EPSS percentile: 87.1

This places it in the top quartile of EPSS-scored vulnerabilities — 87.1% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.

Also Known As

GHSA-qw24-gh76-8rvv
BIT-rclone-2026-49980
GO-2026-5596

Related CVEs

  • CVE-2026-41176
    CRITICAL

    Rclone: Unauthenticated options/set allows runtime auth bypass, leading to sensitive operations and command execution

  • CVE-2026-104099
    CRITICAL

    Fabio: Access-control bypass through unnormalized request paths

  • CVE-2026-41179
    CRITICAL

    RClone: Unauthenticated operations/fsinfo allows attacker-controlled backend instantiation and local command execution

  • CVE-2026-88044
    CRITICAL

    rclone: RC per-server auth-proxy bypass

  • CVE-2026-77369
    CRITICAL

    Daptin: Broken Access Control (IDOR) in the generic YJS collaboration endpoint

  • CVE-2026-88018
    CRITICAL

    rclone serve s3: --auth-proxy without --auth-key authenticates nobody - full SigV4 signature bypass

  • CVE-2026-59733
    HIGH

    rclone `serve restic --private-repos` authorization bypass: `..` in the URL path lets an authenticated user read, overwrite and delete other users' repositories

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my go.sum