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

Medium 4.6 Published Updated

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.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

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

Which versions are affected by CVE-2026-93987?

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

PackageAffectedFixed in
rclone BitnamiFrom 1.56.01.75.1

How do I fix CVE-2026-93987?

Upgrade rclone to 1.75.1 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-93987 being exploited?

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

Sources

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 and 1 more.

Is CVE-2026-93987 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free