CVE-2026-71313 rclone: Local Encoding Path Traversal
An attacker can exploit specific filename encodings to write or read files outside the intended directory when syncing data with rclone.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-71313?
CVE-2026-71313 is a medium-severity path traversal vulnerability in rclone, published on 5 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
rclone is a command-line program to sync files and directories to and from different cloud storage providers. From v1.51.0 until v1.75.0, the local backend in backend/local/local.go relies on the configurable filename encoder to prevent remote filename data from becoming operating-system path syntax, so a local destination using Slash, None, Raw, or on Windows an encoding that preserves backslash can decode a standard-encoded fullwidth dot-dot component or native backslash form into an actual parent-directory component before filepath.Join resolves it outside the configured local root, allowing an attacker-controlled source object to create or overwrite files outside the selected destination directory as the rclone process. This issue is fixed in v1.75.0.
Weakness: CWE-22
Which versions are affected by CVE-2026-71313?
4 open source packages ship an affected version, including github.com/rclone/rclone and rclone.
| Package | Affected | Fixed in |
|---|---|---|
github.com/rclone/rclone Go | From 1.51.0 | 1.75.0 |
github.com/rclone/rclone Go | From 1.51.0 | 1.75.0 |
github.com/rclone/rclone Go | From 1.51.0 | 1.75.0 |
rclone Bitnami | From 1.51.0 | 1.75.0 |
How do I fix CVE-2026-71313?
Upgrade github.com/rclone/rclone to 1.75.0 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-71313 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-71313 exists.
Sources
Also known as BIT-rclone-2026-71313, DEBIAN-CVE-2026-71313, GHSA-7p4m-qxvv-g567, GO-2026-6186, MINI-2mhw-mr7x-v843, MINI-44fv-45xh-hv9h and 7 more.