JLSEC-2026-1710: Rclone Docker volume plugin path traversal via volume name
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/Rclone_jllto a version that resolves this vulnerability.Fixed in 1.75.1+0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.75.1
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Who can exploit this issue in practice?
An attacker must be able to submit a Docker VolumeDriver.Create request to the rclone plugin socket. This is normally the Docker daemon, but may include workloads that can request named volumes in a multi-tenant orchestration environment.
Is the default configuration affected?
Yes. The vulnerable code derives the mountpoint from the configured plugin root, whose default is /var/lib/docker-volumes/rclone, without ensuring the supplied volume name remains beneath that directory.
What can an attacker do with a crafted volume name?
A name containing sufficient .. components can cause the privileged plugin to create a directory and mount a remote filesystem at an arbitrary host path. This can shadow or disrupt system directories.
Are persisted volumes also relevant?
Yes. The advisory states that Volume.restoreState() had the same missing path validation when persisted volume state was reloaded.
What version resolves the issue?
The issue is fixed in rclone version 1.75.1. Versions 1.56.0 through 1.75.0 are affected.