CVE-2026-50284
HIGH
7.1
CVSS 4.0
Description
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.
Metadata
Severity & Metrics
7.1
HIGH 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 products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| craftcms | cms | — | =>= 5.0.0-RC1, < 5.9.22, >= 4.0.0-RC1, < 4.17.15 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-862 | cna | CWE-862: Missing Authorization |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 7.1 | HIGH | 4.0 | cna | 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 |
References (2)
- https://github.com/craftcms/cms/security/advisories/GHSA-7h62-6v23-v8fm https://github.com/craftcms/cms/security/advisories/GHSA-7h62-6v23-v8fm
- https://github.com/craftcms/cms/commit/b4e08977f0c9bdf002a77f9f6d1346cd55ac0598 https://github.com/craftcms/cms/commit/b4e08977f0c9bdf002a77f9f6d1346cd55ac0598