CVE-2026-50284
HIGH 7.1CVSS 4.0Craft CMS: Missing peer-permission check in `AssetsController::actionDeleteFolder` allows deletion of other users' assets
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.
- Published
- 1 Jul 2026
- Last modified
- 25 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-862
- Also known as
- GHSA-7h62-6v23-v8fm
- Sources
- NVDJSONOSV GHSA-7h62-6v23-v8fmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 7.1 | 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/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:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:L/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | craftcms/cms | >= 5.0.0-RC1, < 5.9.22 | 5.9.22 |
| OSV | Packagist | craftcms/cms | >= 4.0.0-RC1, < 4.17.15 | 4.17.15 |
References
- https://github.com/craftcms/cms/commit/b4e08977f0c9bdf002a77f9f6d1346cd55ac0598 · WEB
- https://github.com/craftcms/cms/security/advisories/GHSA-7h62-6v23-v8fm · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-50284 · ADVISORY
- https://github.com/craftcms/cms · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 1 Jul 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 2 Jul 2026)