{"id":"CVE-2026-50282","published":"2026-07-02T16:15:25Z","modified":"2026-07-02T18:01:27Z","title":"Craft CMS: Unauthorized Deletion of Destination Folders During Forced Moves","vendor":"Craft CMS","product":"cms","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.9,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00351,"percentile":0.29484,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-3w32-23wj-rxg3","tags":["x_refsource_CONFIRM"]}],"priority":{"score":9.3,"factors":[{"name":"EPSS percentile","points":5.9},{"name":"CVSS severity","points":3.43}]},"vendorSlug":"craft-cms","affectedVersions":[{"vendor":"craftcms","product":"cms","versions":[">= 5.0.0-RC1, < 5.9.21",">= 4.0.0-RC1, <= 4.17.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-02T18:01:00.339381Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"craftcms/cms","vulnerableRanges":[">=5.0.0-RC1, <5.9.21",">=4.0.0-RC1, <4.17.14"],"patched":["5.9.21","4.17.14"],"from":["GHSA-3w32-23wj-rxg3"],"provenance":"source"}],"summary":{"text":"Craft CMS versions 5.0.0-RC1 and later before 5.9.21, and 4.0.0-RC1 and later before 4.17.14, contain a missing authorization flaw in the asset folder move action (AssetsController::actionMoveFolder()). An authenticated user with low privileges and no user interaction can send a forced move request over the network to delete an existing destination folder with the same name, without holding delete permission on it, provided the destination folder conflict exists.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:20Z"},"euvd":{"id":"EUVD-2026-41416","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-craft-cms-cms-cve-2023-30177","parents":[{"from":"CVE-2023-30177","to":"CVE-2026-50282","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/elements/Asset.php"],"commits":["https://github.com/craftcms/cms/commit/00fb253d5318e10204433e5d93934108e574005e","https://github.com/craftcms/cms/commit/2c2579c7f1030872423f268d0c8b48377101961d"],"basis":"rarely changed file"}]},{"from":"CVE-2026-32262","to":"CVE-2026-50282","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/controllers/AssetsController.php"],"commits":["https://github.com/craftcms/cms/commit/c997efbe4c66c14092714233aeebff15cdbfcf11","https://github.com/craftcms/cms/commit/2c2579c7f1030872423f268d0c8b48377101961d"],"basis":"shared function","functions":["actionReplaceFile"]}]}],"packageHistory":[{"cve":"CVE-2026-44011","published":"2026-05-12","fixed":"5.9.18","kev":false,"link":{"from":"CVE-2026-44011","to":"CVE-2026-50282","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:craftcms/cms","fromFixed":"4.17.12","toFixed":"4.17.14","daysApart":51}]}},{"cve":"CVE-2026-50279","published":"2026-07-01","fixed":"5.9.21","kev":false},{"cve":"CVE-2026-50280","published":"2026-07-01","fixed":"5.9.21","kev":false},{"cve":"CVE-2026-50281","published":"2026-07-02","fixed":"5.9.21","kev":false},{"cve":"CVE-2026-50282","published":"2026-07-02","fixed":"5.9.21","kev":false},{"cve":"CVE-2026-50283","published":"2026-07-01","fixed":"5.9.21","kev":false},{"cve":"CVE-2026-50284","published":"2026-07-01","fixed":"5.9.22","kev":false,"link":{"from":"CVE-2026-50282","to":"CVE-2026-50284","relation":"successor","confidence":"high","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:craftcms/cms","fromFixed":"4.17.14","toFixed":"4.17.15","daysApart":-1},{"kind":"same-code","provenance":"machine","files":["src/controllers/AssetsController.php"],"commits":["https://github.com/craftcms/cms/commit/2c2579c7f1030872423f268d0c8b48377101961d","https://github.com/craftcms/cms/commit/b4e08977f0c9bdf002a77f9f6d1346cd55ac0598"],"basis":"shared file"}]}},{"cve":"CVE-2026-55790","published":"2026-07-01","fixed":"5.9.23","kev":false}],"package":"Packagist:craftcms/cms"}}