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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| rclone | rclone | 1.56.0 – < 1.75.1 | 1.75.1 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | rclone | No fix yet | — |
| Debian 12 | rclone | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | rclone | No fix yet | — |
| Ubuntu 18.04 LTS | rclone | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | rclone | No fix yet | — |
| Ubuntu Pro 24.04 LTS | rclone | No fix yet | — |
| Ubuntu Pro 22.04 LTS | rclone | No fix yet | — |
| Ubuntu Pro 20.04 LTS | rclone | No fix yet | — |
Advisories 1
- WID-SEC-2026-3196 rclone: Mehrere Schwachstellen ermöglichen Umgehen von Sicherheitsvorkehrungen BSI CERT-Bund (WID) · Oct 25, 2026
References
- GitHub Security Advisory (GHSA-p6vx-hf7p-98j6) vendor-advisory
- VulnCheck Advisory: rclone serve docker Path Traversal via Volume Name third-party-advisory