{"id":"CVE-2026-50284","published":"2026-07-01T22:37:30Z","modified":"2026-07-02T12:46:04Z","title":"Craft CMS: Missing peer-permission check in `AssetsController::actionDeleteFolder` allows deletion of other users'…","vendor":"Craft CMS","product":"cms","tier":"tail","description":{"text":"Craft CMS is a content management system (CMS). In versions 5.0.0-RC1 through 5.9.21 and 4.0.0-RC1 through 4.17.14, theAssetsController::actionDeleteFolder() only requires the deleteAssets:<volume-uid> permission for the target folder. It never enforces deletePeerAssets:<volume-uid>, even though Assets::deleteFoldersByIds() cascades deletion to every descendant folder and every asset inside, regardless of the uploader's assigned privileges. A low-privilege user who has been granted folder-management rights on a shared volume can therefore destroy assets uploaded by other users (peer assets), bypassing the per-asset peer-permission check that the sibling actionDeleteAsset endpoint correctly applies. This issue has been fixed in versions 4.17.15 and 5.9.22.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","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:L/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00387,"percentile":0.33618,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-7h62-6v23-v8fm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/craftcms/cms/commit/b4e08977f0c9bdf002a77f9f6d1346cd55ac0598","tags":["x_refsource_MISC"]}],"priority":{"score":11.7,"factors":[{"name":"EPSS percentile","points":6.72},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"craft-cms","affectedVersions":[{"vendor":"craftcms","product":"cms","versions":["=>= 5.0.0-RC1, < 5.9.22",">= 4.0.0-RC1, < 4.17.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-02T12:45:55.719494Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"craftcms/cms","vulnerableRanges":[">=5.0.0-RC1, <5.9.22",">=4.0.0-RC1, <4.17.15"],"patched":["5.9.22","4.17.15"],"from":["GHSA-7h62-6v23-v8fm"],"provenance":"source"}],"summary":{"text":"Craft CMS, in its AssetsController::actionDeleteFolder component, fails to enforce the peer-permission check when deleting asset folders, so folder deletion cascades to assets uploaded by other users. An attacker with network access and low-privilege authentication who has been granted folder-management rights on a shared volume can delete other users' assets and descendant folders without user interaction or any special configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:37Z"},"euvd":{"id":"EUVD-2026-41208","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"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,"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-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},{"cve":"CVE-2026-55790","published":"2026-07-01","fixed":"5.9.23","kev":false,"link":{"from":"CVE-2026-50284","to":"CVE-2026-55790","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:craftcms/cms","fromFixed":"4.17.15","toFixed":"4.17.16","daysApart":0},{"kind":"version-step","provenance":"source","package":"Packagist:craftcms/cms","fromFixed":"5.9.22","toFixed":"5.9.23","daysApart":0}]}},{"cve":"CVE-2026-55793","published":"2026-07-01","fixed":"5.9.53","kev":false},{"cve":"CVE-2026-55791","published":"2026-07-01","fixed":"5.10","kev":false}],"package":"Packagist:craftcms/cms"}}