CVE-2026-54572

rclone: Unvalidated symlink target in local `--links` — arbitrary file write from an untrusted remote

Published Jul 14, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Rclone is a command-line program to sync files and directories to and from different cloud storage providers. Prior to 1.74.4, with -l/--links, rclone serializes symlinks as .rclonelink text objects and recreates them on a local destination without validating the target, allowing an attacker-controlled remote to plant an escaping symlink and cause a following object write to land outside the destination with attacker-chosen contents. This issue is fixed in version 1.74.4.

Analysis

AI-generated

Technical impact

Rclone, a command-line tool for synchronizing data to and from cloud storage, previously recreated symbolic links on a local destination without verifying their target. If an attacker can supply a file that contains a malicious symlink—such as by uploading a crafted item to a cloud bucket that rclone reads—rclone will emit the file at the link’s target location on disk. This results in an arbitrary file write outside the intended destination, giving the attacker the ability to modify critical files or inject malicious code. The weakness corresponds to CWE‑59, unsafe file handling based on untrusted input.

Affected Systems

All installations of rclone that run a version earlier than 1.74.4 and use the --links (‑l) option are affected. Any user who has a locally running rclone instance fetching data from a remote cloud provider could be impacted if the remote source includes a malicious symlink. The fix is applied in version 1.74.4, so any older version remains vulnerable.

Risk and Exploitability

The CVSS base score of 7.5 signals a high‑impact flaw, while the EPSS score of less than 1 % indicates that the probability of exploitation is currently low and the vulnerability does not appear in CISA’s KEV catalogue. The likely attack vector involves an attacker‑controlled remote storage that rclone; with minimal privileges on the local host, rclone will write the target file outside the designated directory, providing a straightforward path to privilege escalation or further compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade rclone to at least version 1.74.4, which validates symlink targets before writing them.
  • If an upgrade is not immediately possible, avoid using the --links (-l) option when accessing untrusted remote storage, or disable symlink handling entirely.
  • Enforce strict directory confinement on the destination, such as mounting it inside a chroot or applying OS ACLs to prevent writes outside the intended directory tree.

Generated by OpenCVE AI on July 31, 2026 at 04:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-cf44-9pgv-m4xc rclone: Unvalidated symlink target in local `--links` — arbitrary file write from an untrusted remote
History
Type Values Removed Values Added
First Time appeared Rclone
Rclone rclone
Vendors & Products Rclone
Rclone rclone
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Rclone is a command-line program to sync files and directories to and from different cloud storage providers. Prior to 1.74.4, with -l/--links, rclone serializes symlinks as .rclonelink text objects and recreates them on a local destination without validating the target, allowing an attacker-controlled remote to plant an escaping symlink and cause a following object write to land outside the destination with attacker-chosen contents. This issue is fixed in version 1.74.4.
Title rclone: Unvalidated symlink target in local `--links` — arbitrary file write from an untrusted remote
Weaknesses CWE-59
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 15, 2026, 12:43 PM
Reserved
Jun 15, 2026, 7:15 PM
Status
Analyzed
Published
Jul 14, 2026, 10:17 PM
Modified
Jul 17, 2026, 3:13 AM
Severity
Important
Public date
Jul 14, 2026, 9:37 PM