· via dev.to (home feed)
rclone fixes CVE-2026-134354: planted symlinks could redirect xattr writes outside the destination root
rclone 1.76.0 closes CVE-2026-134354, in which the local backend's extended-attribute writes could follow a planted symlink and modify user.* attributes on files beyond the destination root.

A security advisory for rclone, the file-copying tool often used to move data between storage systems while preserving metadata, describes a flaw in which extended-attribute writes can land on files outside the intended destination. Tracked as CVE-2026-134354 and detailed in a write-up on dev.to, the problem sits in the local backend's setXattr function, which can follow a symbolic link planted in the destination tree and apply user.* attributes to a file beyond the destination root.
How the escape works
According to the dev.to summary, triggering the flaw requires a copy that combines the --links flag with metadata operations — the pairing a copy that preserves metadata would normally use. The attacker's part is to plant a symlink inside the destination tree and to ensure that a directory outside the root already holds a child with the matching name. When rclone then writes the file's extended attributes, path resolution follows the planted link and the attribute write reaches the outside file.
The CVSS vector published with the issue rates the attack as local, but the write-up stresses that this does not require a person at the keyboard. Anything able to deposit files into the destination — an untrusted archive, a repository checkout, a shared directory, or the sync source itself — can plant the link, and the follow-up write runs under rclone's own privileges.
What an xattr write can and cannot do
Extended attributes carry security labels, user metadata and application state. A modified user.* attribute leaves the file's contents untouched, but it can shape downstream decisions: how a later process categorizes the file, which policy applies to it, or whether a security tool regards it as trustworthy. The practical impact therefore depends on the receiving system and on what reads those attributes.
Per the advisory as summarized on dev.to, the issue is categorized as a link-following problem with low integrity impact. The affected range is wide: rclone 1.59.0 through anything older than 1.76.0. Version 1.76.0, the release that patches the flaw, is where upgrades should land.
What operators should do
The write-up lays out a response plan:
- Update rclone everywhere it runs — workstations, servers, backup jobs and container images — and rebuild helper images or automation tasks that pin the binary. Check scripts and CI caches for standalone copies.
- Inspect destination trees populated from untrusted sources for symbolic links.
- Check files outside the intended root whose names match copied content for unexpected attribute changes, comparing against a backup baseline where one exists.
- Run sync jobs under a dedicated account whose write access stops at the destination, and skip link and metadata preservation for untrusted sources unless the workflow depends on it.
- Keep the identity that processes metadata separate from anything allowed to modify application configuration or shared service directories.
For verification, the suggested test is to build a destination containing a symlink that points at an outside directory with a pre-existing child, run a copy that preserves metadata using --links, and confirm that nothing is written outside the root. The write-up recommends keeping this check in deployment validation, since the vulnerable behavior depends on the local backend and the chosen metadata flags.
Why it matters
rclone earns its place in backup and migration pipelines largely because it preserves metadata, and this advisory shows the cost of that feature: the mechanism meant to carry labels and state faithfully can be aimed at files the copy was never supposed to touch. The conditions are specific — a planted link, a matching name outside the root, and --links combined with metadata operations — but they are realistic wherever destinations accept material from untrusted sources. Because the write executes with the sync job's privileges, a job granted broad write access can turn a low-integrity metadata change into a lever for influencing files elsewhere on the system. The remedy is simple at its core: upgrade to 1.76.0, then review who and what can write into your destination trees.
- #rclone
- #security
- #cve
- #backup
- #file-sync