# CVE-2026-93987: rclone serve docker Path Traversal via Volume Name

> An attacker can exploit path traversal in rclone's Docker volume plugin to create directories and mount remote filesystems at arbitrary host paths, potentially disrupting system operations.

- **Severity:** Medium 4.6 (`CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N`)
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 19 Sep 2026
- **Updated:** 21 Sep 2026
- **Also known as:** BIT-rclone-2026-93987, DEBIAN-CVE-2026-93987, GHSA-jg5v-4p8w-hwm3, GHSA-p6vx-hf7p-98j6, MINI-4399-7225-pm9j, MINI-6mcw-8vqp-c286, UBUNTU-CVE-2026-93987

## What is CVE-2026-93987?

CVE-2026-93987 is a medium-severity path traversal vulnerability in rclone, published on 19 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

rclone versions 1.56.0 through 1.75.0 contain a path traversal vulnerability in the `rclone serve docker` volume plugin. newVolume() in cmd/serve/docker/volume.go computes a volume's mountpoint as filepath.Join(drv.root, name) from the attacker-supplied `name` field of a Docker VolumeDriver.Create request without verifying that the result stays within drv.root (default /var/lib/docker-volumes/rclone), and checkMountpoint() then creates that directory with file.MkdirAll before mounting. A volume name containing enough `..` components (e.g. "../../../../../../etc") therefore resolves outside the base directory, allowing anyone able to submit a VolumeDriver.Create request to the plugin socket — normally the Docker daemon, or a workload that can request named volumes in a multi-tenant orchestration setup — to make the privileged rclone plugin process create a directory and mount a remote filesystem specified in the same request at an arbitrary host path, shadowing or disrupting system directories. The advisory notes Volume.restoreState() had the same missing validation when reloading persisted volume state. Fixed in 1.75.1.

Weakness: CWE-73 (External Control of File Name or Path)

## Which versions are affected by CVE-2026-93987?

1 open source package ship an affected version, including rclone.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `rclone` | Bitnami | From 1.56.0 | 1.75.1 |

## How do I fix CVE-2026-93987?

Upgrade rclone to 1.75.1 or later.

## Is CVE-2026-93987 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-93987 exists.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-93987 and fix it if it is affected.

What it is: CVE-2026-93987 is a medium-severity path traversal vulnerability in rclone, published on 19 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-93987 exists.

Affected packages and fixed versions:
- rclone (Bitnami): affected from 1.56.0; fixed in 1.75.1

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-93987/ (Markdown: https://insights.sbomify.com/CVE-2026-93987/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-93987
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-93987
- OSV: https://osv.dev/vulnerability/CVE-2026-93987

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-93987/
Summaries are generated and may contain mistakes; the official description above is the record.
