CVE-2026-50284 Details
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.
An authorization bypass vulnerability has been identified in the AssetsController of Craft CMS. This issue affects versions 5.0.0-RC1 prior to 5.9.22 and 4.0.0-RC1 prior to 4.17.15. The vulnerability arises because the actionDeleteFolder method only requires the deleteAssets permission for the target folder, neglecting the deletePeerAssets permission. As a result, low-privilege users with folder-management rights on a shared volume can delete assets uploaded by other users, bypassing the intended permission checks. This flaw allows for the permanent deletion of peer-owned files and their associated folder structures, with no recovery option available through Craft's user interface.
Users can update to Craft CMS versions 5.9.22 or 4.17.15, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 1, 2026CISA-ADP
Assessed Jul 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/craftcms/cms/commit/b4e08977f0c9bdf002a77f9f6d1346cd55ac0598 | [email protected] | Source CodeVendor |
| https://github.com/craftcms/cms/security/advisories/GHSA-7h62-6v23-v8fm | [email protected] | AdvisoryTechnical AnalysisVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-862 | Missing Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Craft CMS | >= 5.0.0-RC1, < 5.9.22 (semver) >= 4.0.0-RC1, < 4.17.15 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jul 2, 2026 | CVE Modified | CISA-ADP |
| Jul 1, 2026 | New CVE Received | [email protected] |
Volerion