ZeroHour

CVE-2026-88016

mass

Symlink escape in rclone local backend lets crafted links apply metadata outside destination

CVSS 3.1
7.1 high
EPSS
Published
()
Modified
AI analysis

rclone prior to 1.75.1 contains a symlink-following flaw (CWE-59) in the local backend when run with --links: a crafted source .rclonelink object plants a symlink in the destination, and subsequent directory operations (MkdirMetadata, writeMetadataToFile, setTimes) follow that link, bypassing os.Root confinement. An attacker who controls the contents being synced can therefore cause rclone to apply ownership (chown), permissions (chmod), modification times, or birth times to a file or directory outside the intended destination. The impact is limited to metadata tampering rather than arbitrary file content writes, but out-of-bounds permission or time changes can weaken file integrity or mislead other processes; the CVSS 3.1 score is 7.1 (high) with network vector, high attack complexity, low privileges, and user interaction required. Any rclone user syncing from a source with attacker-influenced contents using --links is affected, with --metadata required for the chmod/chown paths while modification-time changes occur in the normal directory workflow. There is no public proof-of-concept, the flaw is not in CISA KEV, and no in-the-wild exploitation has been reported.

What to do: Upgrade to rclone 1.75.1 or later, which fixes the symlink confinement issue. Until patched, avoid using --links when syncing from sources whose contents are attacker-controlled or untrusted, and note that --metadata is required for the chown/chmod path while modification-time changes occur without it. Audit recent sync jobs that used --links for unexpected ownership, permission, or timestamp changes on files adjacent to your destinations.

Affected
rclone (local backend with --links enabled)all versions prior to 1.75.1
Estimated exposure
mass>1,000,000 users of rclone overall, though only the subset running --links against untrusted sources is realistically exploitable (likely hundreds of thousands) — rclone is the de facto open-source CLI for cloud storage sync with cumulative downloads in the tens of millions and broad use in scripts, NAS ecosystems, and backup tooling, making its user base exceed the mass threshold even though the…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

rclone is a command-line program to sync files and directories to and from different cloud storage providers. Prior to 1.75.1, when backend/local runs with --links, a source .rclonelink object can plant a symlink in the destination and later directory metadata is applied through that path. MkdirMetadata, writeMetadataToFile, and setTimes operate when Directory.translatedLink=false, so os.Chown, os.Chmod, os.Chtimes, and birth-time handling can bypass os.Root confinement and follow the symlink. An attacker controlling source contents can therefore apply selected ownership, permissions, modification times, or birth times to a file or directory outside the destination, with --metadata required for chmod and chown while modification time is applied by the normal directory workflow. This issue is fixed in version 1.75.1.

Vendors
rclone
Products
rclone
Ecosystems
go
Weakness
CWE-59, CWE-281
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L
GHSA
GHSA-f8g7-2xjc-7mfh (medium)

In the news

No ingested article mentions this CVE yet.