{"id":"CVE-2026-50282","summary":"Craft CMS: Unauthorized Deletion of Destination Folders During Forced Moves","details":"Craft CMS is a content management system (CMS). Versions 5.0.0-RC1 and above, prior to 5.9.21 and versions 4.0.0-RC1 and above prior to 4.17.14 contain an authorization issue where a forced folder move can delete a conflicting destination folder without destination delete permission. Function craft\\\\controllers\\\\AssetsController::actionMoveFolder() supports moving an asset folder into a destination parent folder. If a folder with the same name already exists at the destination, the action can be called with force=true to overwrite the destination. This issue has been resolved in versions 5.9.21 and 4.17.14.","aliases":["GHSA-3w32-23wj-rxg3"],"modified":"2026-07-15T02:20:50.967591796Z","published":"2026-07-02T16:15:25.823Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50282.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-862"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50282.json"},{"type":"ADVISORY","url":"https://github.com/craftcms/cms/security/advisories/GHSA-3w32-23wj-rxg3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50282"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/craftcms/cms","events":[{"introduced":"04755d93f86d07cc183db47db8a0eee106892e30"},{"fixed":"887cc875cf041f6d0ecc55c7a0a687c41b402a24"},{"introduced":"daac7c1da2f701f2e9ddee1da1457ce61660b581"},{"last_affected":"a8eda73630e3466ad8a48c5402555e49e1311592"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"5.0.0-RC1"},{"fixed":"5.9.21"},{"introduced":"4.0.0-RC1"},{"last_affected":"4.17.14"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-50282.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U"}]}