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.
Published: 2026-08-05
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

rclone’s local backend uses a configurable filename encoder to insure that remote filename data does not become operating‑system path syntax. Between releases v1.51.0 and v1.75.0, when the encoder preserves slash, backslash or uses a raw encoding, a specially crafted remote object name can contain a full‑width dot‑dot or backslash component that, after conversion, resolves to a parent directory. The subsequent filepath.Join call then writes the file outside the configured destination, allowing an attacker to create or overwrite files on the local file system. This path traversal flaw is classified as CWE‑22 and can lead to arbitrary file modification or replacement wherever the rclone process runs.

Affected Systems

All rclone releases from version 1.51.0 through 1.74.9 (inclusive) are affected. The issue applies to the local backend on all platforms; on Windows it also occurs when the encoder preserves backslash characters. The software vendor is rclone and the vulnerability is fixed in release v1.75.0.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity. No EPSS score is available, so the proven exploitation probability is unknown, and the vulnerability is not listed in CISA KEV. The attack vector is local: an attacker who can control the source objects during a sync operation can craft malicious file names that escape the destination directory. Compromise is limited to the privileges of the rclone process, but if the process runs elevated, the attacker can overwrite system files or insert malicious code.

Generated by OpenCVE AI on August 5, 2026 at 22:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade rclone to version 1.75.0 or later to receive the fix for the local backend path traversal.
  • If an upgrade is not possible, configure the local backend to use an encoder that does not allow path traversal, for example enable the "windows" encoder with backslash protection on Windows or use an encoder that strictly removes ".." components on all platforms.
  • If using a pre‑patch version, validate source object names before syncing, rejecting any names that contain backslash, slash, or full‑width dot‑dot components, to prevent the traversal from occurring.

Generated by OpenCVE AI on August 5, 2026 at 22:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-7p4m-qxvv-g567 rclone: Local Encoding Path Traversal
History

Wed, 05 Aug 2026 22:45:00 +0000

Type Values Removed Values Added
First Time appeared Rclone
Rclone rclone
Vendors & Products Rclone
Rclone rclone

Wed, 05 Aug 2026 21:15:00 +0000

Type Values Removed Values Added
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.
Title rclone: Local Encoding Path Traversal
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 6.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-05T20:47:48.099Z

Reserved: 2026-08-05T18:14:42.064Z

Link: CVE-2026-71313

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T22:30:05Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')