# CVE-2024-52522: Rclone Improper Permission and Ownership Handling on Symlink Targets with --links and --metadata

- Severity: Medium 5.4 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-11-15T17:15:43.357Z
- Modified: 2026-09-10T03:50:20.808Z
- Also known as: GHSA-hrxh-9w67-g4cv, BIT-RCLONE-2024-52522, GO-2024-3271
- Related: CGA-8h7w-gq43-qr33
- Weaknesses: CWE-59, CWE-61, CWE-281
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Rclone is a command-line program to sync files and directories to and from different cloud storage providers. Insecure handling of symlinks with --links and --metadata in rclone while copying to local disk allows unprivileged users to indirectly modify ownership and permissions on symlink target files when a superuser or privileged process performs a copy. This vulnerability could enable privilege escalation and unauthorized access to critical system files, compromising system integrity, confidentiality, and availability. This vulnerability is fixed in 1.68.2.

(As written by CVE List.)

## Affected

- rclone rclone: >= 1.59.0, < 1.68.2
- github.com/rclone/rclone (Go): from 1.59.0 before 1.68.2
- rclone (Bitnami): from 1.59.0 before 1.68.2

## Every score

- GitHub_M: CVSS:4.0 5.4 Medium `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`
- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Medium `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`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/rclone/rclone/security/advisories/GHSA-hrxh-9w67-g4cv> (web)
- <https://github.com/rclone/rclone/commit/01ccf204f42b4f68541b16843292439090a2dcf0> (fix, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-52522> (advisory, web)
- <https://github.com/rclone/rclone> (package)

## Sources

- CVE List: [CVE-2024-52522](https://www.cve.org/CVERecord?id=CVE-2024-52522), CVE Terms of Use, modified 2024-11-21
- GitHub Advisory Database: [GHSA-hrxh-9w67-g4cv](https://github.com/advisories/GHSA-hrxh-9w67-g4cv), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-3271](https://pkg.go.dev/vuln/GO-2024-3271), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2024-52522](https://nvd.nist.gov/vuln/detail/CVE-2024-52522), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-RCLONE-2024-52522](https://osv.dev/vulnerability/BIT-RCLONE-2024-52522), Apache-2.0, modified 2025-05-20

---

Page: https://cve.day/CVE-2024-52522 · Whole record: https://cve.day/CVE-2024-52522.json · Rebuilt by cve.day 2026-11-25T22:58:48.322Z
