CVE-2026-49980
JSON

9.8critical

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

Severity
9.8critical CVSS:3.1 by GitHub_M
Exploit likelihood
2.78% (higher than 87% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-qw24-gh76-8rvvBIT-RCLONE-2026-49980GO-2026-5596

Description

Rclone is a command-line program to sync files and directories to and from different cloud storage providers. From 1.46.0 until 1.74.3, 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. This vulnerability is fixed in 1.74.3.

Affected

Product or packageVersionsReported by
rclone rclone>= 1.46.0, < 1.74.3, from 1.46 before 1.74.3CVE List, NVD
cryostat/cryostat-storage-rhel9Not specifiedCVE List
oadp/oadp-mustgather-rhel9Not specifiedCVE List
oadp/oadp-velero-restic-restore-helper-rhel9Not specifiedCVE List
oadp/oadp-velero-rhel9Not specifiedCVE List
rhacm2/volsync-operator-bundleNot specifiedCVE List
rhacm2/volsync-rhel9Not specifiedCVE List
github.com/rclone/rclone (Go)from 1.46.0 before 1.74.3, from 1.49.0 before 1.74.3GitHub Advisory Database, Go Vulnerability Database
github.com/ncw/rclone (Go)from 1.46.0Go Vulnerability Database
rclone (Bitnami)from 1.46.0 before 1.74.3Bitnami Vulnerability Database

All scores

GitHub_M9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
redhat-SADP8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Bitnami Vulnerability Databasecritical rating

Classification

CWE-78CWE-306

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

Rclone is a command-line program to sync files and directories to and from different cloud storage providers. From 1.46.0 until 1.74.3, 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. This vulnerability is fixed in 1.74.3.

GitHub Advisory Database

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
Go Vulnerability Database

The --rc-serve path in rclone allows unauthenticated remote instantiation, enabling unauthenticated command execution. An attacker can use inline remote backend options such as sftp ssh to run arbitrary commands as the rclone user.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2026-49980 changed 2026-08-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-qw24-gh76-8rvv changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5596 changed 2026-08-14CC-BY-4.0
NVDCVE-2026-49980 changed 2026-08-07Public domain
Bitnami Vulnerability DatabaseBIT-RCLONE-2026-49980 changed 2026-09-08Apache-2.0