What’s Vulnerable › Vulnerabilities
CVE-2026-93987: rclone serve docker Path Traversal via Volume Name
- Severity: low (CVSS 3.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-19 · updated 2026-09-22
- Weakness: CWE-73
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
- rclone: from 1.56.0 before 1.75.1 — fixed in 1.75.1
How to fix
Upgrade to a fixed version: rclone 1.75.1. Check the vendor advisory for mitigations.
References
- https://github.com/rclone/rclone/security/advisories/GHSA-p6vx-hf7p-98j6
- https://www.vulncheck.com/advisories/rclone-serve-docker-path-traversal-via-volume-name
- https://github.com/rclone/rclone/security/advisories/GHSA-p6vx-hf7p-98j6
Get alerted when CVE-2026-93987 or the next vulnerability affects your stack