CVE-2024-52522
MEDIUM 5.4CVSS 4.0Rclone has Improper Permission and Ownership Handling on Symlink Targets with --links and --metadata
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.
- Published
- 15 Nov 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-281CWE-59
- Also known as
- BIT-rclone-2024-52522GHSA-hrxh-9w67-g4cvGO-2024-3271
- Sources
- NVDJSONOSV GHSA-hrxh-9w67-g4cvJSONOSV GO-2024-3271JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 5.4 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/rclone/rclone | >= 1.59.0, < 1.68.2 | 1.68.2 |
References
- https://github.com/rclone/rclone/commit/01ccf204f42b4f68541b16843292439090a2dcf0 · WEB, FIX
- https://github.com/rclone/rclone/security/advisories/GHSA-hrxh-9w67-g4cv · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-52522 · ADVISORY
- https://github.com/rclone/rclone · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 15 Nov 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Nov 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 19 Nov 2024)