{"id":"CVE-2024-52522","summary":"Rclone  Improper Permission and Ownership Handling on Symlink Targets with --links and --metadata","details":"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.","aliases":["BIT-rclone-2024-52522","GHSA-hrxh-9w67-g4cv","GO-2024-3271"],"modified":"2026-05-19T06:44:21.076176345Z","published":"2024-11-15T17:15:43.357Z","related":["CGA-8h7w-gq43-qr33","openSUSE-SU-2024:14513-1","openSUSE-SU-2024:14524-1","openSUSE-SU-2026:20620-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52522.json","cwe_ids":["CWE-281","CWE-59","CWE-61"],"cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52522.json"},{"type":"ADVISORY","url":"https://github.com/rclone/rclone/security/advisories/GHSA-hrxh-9w67-g4cv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52522"},{"type":"FIX","url":"https://github.com/rclone/rclone/commit/01ccf204f42b4f68541b16843292439090a2dcf0"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/rclone/rclone","events":[{"introduced":"00a684d877548b47990a96cef8eeb1462a590c2a"},{"fixed":"f2d16ab4c5856098abe9e194c5f4dde6bfc56b66"}]}],"versions":["v1.59.0","v1.60.0","v1.61.0","v1.62.0","v1.63.0","v1.64.0","v1.65.0","v1.66.0","v1.67.0","v1.68.0","v1.68.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-52522.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}