{"id":"CVE-2026-88015","aliases":["CVE-2026-88015","GHSA-p6m2-r3w9-mpxw","BIT-RCLONE-2026-88015","GO-2026-6461"],"related":[],"kind":"vulnerability","state":"published","title":"rclone local: crafted Range request against a translated symlink panics (DoS)","summary":"rclone is a command-line program to sync files and directories to and from different cloud storage providers. Prior to 1.75.1, backend/local with --links or links=true exposes symlink targets as .rclonelink objects, and fs.RangeOption.Decode can pass an unchecked positive Range start through Object.Open and openTranslatedLink. The function slices the target string as linkdst[offset:], so a Range start larger than the target length causes a deterministic slice-bounds panic when lib/http/serve exposes the object through HTTP or WebDAV. Go net/http normally recovers the panic per connection, causing request-level denial of service rather than terminating the entire process. This issue is fixed in version 1.75.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"rclone is a command-line program to sync files and directories to and from different cloud storage providers. Prior to 1.75.1, backend/local with --links or links=true exposes symlink targets as .rclonelink objects, and fs.RangeOption.Decode can pass an unchecked positive Range start through Object.Open and openTranslatedLink. The function slices the target string as linkdst[offset:], so a Range start larger than the target length causes a deterministic slice-bounds panic when lib/http/serve exposes the object through HTTP or WebDAV. Go net/http normally recovers the panic per connection, causing request-level denial of service rather than terminating the entire process. This issue is fixed in version 1.75.1.","source":"cvelist"},{"lang":"en","text":"### Summary\nWhen `backend/local` is used with `--links`/`-l` (or the `links=true` config option), each symlink is exposed as an rclone object whose content is the target path string, suffixed `.rclonelink`. `Object.Open()` decodes an incoming `fs.RangeOption` via `Decode(o.Size())`, then for a translated-symlink object passes the decoded `offset` straight into `openTranslatedLink`, which indexes the target string directly: `linkdst[offset:]`.\n\n`RangeOption.Decode`'s `Start >= 0` branch (an ordinary `Range: bytes=X-` request) sets `offset = o.Start` with no upper bound, unlike its suffix-range branch (`Start < 0`, e.g. `bytes=-N`), which already clamps a too-large value to 0 - the fix for a prior, related crash (issue #6310: \"bytes=-90407\" against a 5-byte object panicked with \"slice bounds out of range\", now covered by an existing regression test). The `Start >= 0` branch never received the analogous protection.\n\nA `Range: bytes=<hugeStart>-` request sent to `rclone serve http`/`webdav` (or any consumer of `lib/http/serve`'s `Object()`, which parses and decodes the client's own Range header) against a directory containing a symlink therefore reaches `linkdst[offset:]` with offset far beyond the target string's length, and Go panics with \"slice bounds out of range\" instead of returning an empty read.\n\n### Details\nVulnerable code (before fix):\n```go\nfunc (o *Object) openTranslatedLink(offset, limit int64) (lrc io.ReadCloser, err error) {\n\tlinkdst, err := os.Readlink(o.path)\n\tif err != nil { return nil, err }\n\treturn readers.NewLimitedReadCloser(io.NopCloser(strings.NewReader(linkdst[offset:])), limit), nil\n}\n```\n\n### PoC\nCalled the real production `Object.Open()` on a translated-symlink object (target length 12) with `&fs.RangeOption{Start: math.MaxInt64, End: -1}`:\n```\npanic: runtime error: slice bounds out of range [9223372036854775807:8]\n  ...backend/local.(*Object).openTranslatedLink\n  ...backend/local.(*Object).Open\n```\n\n### Impact\nA remote client can send a single crafted `Range` header against any symlink-backed object exposed by `rclone serve http`/`webdav`/etc (backed by `backend/local` with `--links` enabled) to deterministically panic the request-handling goroutine. Go's `net/http` recovers panics per-connection by default, so this fails the one request/connection rather than crashing the whole server process, and no file handle is left open (the panic occurs before any read handle is acquired) - but it is fully deterministic and remotely triggerable with no authentication or race window needed, unlike some other panic-recovery findings.\n\n### Fix\nClamp `offset` to the length of the target string before slicing, matching how a real file read past EOF behaves (an empty read):\n```go\nif offset > int64(len(linkdst)) {\n\toffset = int64(len(linkdst))\n}\n```\nNote: the shared `RangeOption.Decode()` also has a related, unaddressed issue - `limit = o.End - o.Start + 1` can itself overflow to a large negative number for a huge `End` - but a fix attempted there during this investigation broke `fs/operations/reopen.go`'s `NewReOpen`, which calls `Decode` with its `h.end` field still at its zero value at that point in construction. Flagged for awareness but not changed here to keep this patch minimal and low-risk.","format":"markdown","source":"ghsa"},{"lang":"en","text":"rclone local: crafted Range request against a translated symlink panics (DoS) in github.com/rclone/rclone","format":"markdown","source":"go"}],"published":"2026-09-10T15:50:41.414Z","modified":"2026-09-24T09:15:05.284Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-190","CWE-248"],"affected":[{"ranges":[{"version":"< 1.75.1","status":"affected"}],"vendor":"rclone","product":"rclone","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.75.1"}],"ecosystem":"Go","package":"github.com/rclone/rclone","purl":"pkg:golang/github.com/rclone/rclone","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.75.1"}],"ecosystem":"Go","package":"github.com/rclone/rclone","purl":"pkg:golang/github.com/rclone/rclone","source":"go"},{"ranges":[{"status":"affected","fixed":"1.75.1"}],"vendor":"rclone","product":"rclone","cpe":"cpe:2.3:a:rclone:rclone:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.75.1"}],"ecosystem":"Bitnami","package":"rclone","purl":"pkg:bitnami/rclone","source":"bitnami"}],"references":[{"url":"https://github.com/rclone/rclone/security/advisories/GHSA-p6m2-r3w9-mpxw","tags":["advisory","exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/rclone/rclone/commit/28bf49d66f94acc3f4f7f318504a706686281af9","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/rclone/rclone/releases/tag/v1.75.1","tags":["article","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-88015","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/rclone/rclone","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-09-10T16:01:29.337Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-88015","url":"https://www.cve.org/CVERecord?id=CVE-2026-88015","licence":"CVE Terms of Use","modified":"2026-09-10T16:01:48.110Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p6m2-r3w9-mpxw","url":"https://github.com/advisories/GHSA-p6m2-r3w9-mpxw","licence":"CC-BY-4.0","modified":"2026-09-19T09:25:32.676Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6461","url":"https://pkg.go.dev/vuln/GO-2026-6461","licence":"CC-BY-4.0","modified":"2026-09-19T09:25:32.676Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-88015","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-88015","licence":"Public domain","modified":"2026-09-23T20:42:27.633Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-RCLONE-2026-88015","url":"https://osv.dev/vulnerability/BIT-RCLONE-2026-88015","licence":"Apache-2.0","modified":"2026-09-24T09:15:05.284Z"}],"updatedAt":"2026-11-25T22:59:37.870Z","epss":{"score":0.00359,"percentile":0.3168,"date":"2026-12-01T12:00:22.000Z"}}