CVE-2024-52522
Rclone vulnerability analysis and mitigation

Overview

Rclone version 1.68.1 and earlier contains a vulnerability in the handling of symlinks when using --links and --metadata options while copying to local disk. The vulnerability (CVE-2024-52522) was discovered and disclosed on November 15, 2024, affecting the rclone command-line program used to sync files and directories between cloud storage providers. This vulnerability has been fixed in version 1.68.2 (GitHub Advisory).

Technical details

The vulnerability stems from improper handling of symlinks when using both --links and --metadata options. When copying directories containing symlinks, rclone incorrectly applies chown and chmod operations to the target of the symlink instead of the symlink itself. The vulnerability has been assigned a CVSS v4.0 base score of 5.4 (Medium) with the vector string CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L. The issue is related to multiple CWE categories including CWE-61 (UNIX Symbolic Link Following), CWE-281 (Improper Preservation of Permissions), and CWE-59 (Improper Link Resolution Before File Access) (GitHub Advisory, NVD).

Impact

The vulnerability allows unprivileged users to indirectly modify ownership and permissions on symlink target files when a superuser or privileged process performs a copy operation. This could enable privilege escalation and unauthorized access to critical system files (e.g., /etc/shadow), potentially compromising system integrity, confidentiality, and availability. The impact is particularly severe when rclone is run with elevated privileges (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in rclone version 1.68.2. Users should upgrade to this version or later. For those unable to upgrade immediately, the vulnerability can be avoided by not using the combination of --links and --metadata options when copying files to local storage, particularly when running rclone with elevated privileges (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Rclone vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61729HIGH7.5
  • cAdvisorcAdvisor
  • consul-k8s-fips-1.5
NoYesDec 02, 2025
CVE-2025-61725HIGH7.5
  • cAdvisorcAdvisor
  • tekton-pipelines-fips-0.65
NoYesOct 29, 2025
CVE-2025-61723HIGH7.5
  • cAdvisorcAdvisor
  • apm-server-8.18
NoYesOct 29, 2025
CVE-2025-61724MEDIUM5.3
  • cAdvisorcAdvisor
  • kubernetes-1.34
NoYesOct 29, 2025
CVE-2025-58189MEDIUM5.3
  • cAdvisorcAdvisor
  • rhel10-eus::rhel-10.0-bootc-image-builder
NoYesOct 29, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management