CVE-2026-50284: CWE-862: Missing Authorization in craftcms cms
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.
AI Analysis
Technical Summary
In Craft CMS, the actionDeleteFolder() method requires only the deleteAssets:<volume-uid> permission to delete a folder. However, it does not enforce the deletePeerAssets:<volume-uid> permission, even though the deletion cascades to all descendant folders and assets within. This allows users with limited folder-management privileges to delete peer assets uploaded by others, circumventing the per-asset permission checks that are correctly enforced in the actionDeleteAsset endpoint. The vulnerability affects versions 4.0.0-RC1 through 4.17.14 and 5.0.0-RC1 through 5.9.21 and was fixed in 4.17.15 and 5.9.22.
Potential Impact
An attacker with low-privilege folder-management rights on a shared volume can delete assets uploaded by other users without proper authorization. This leads to unauthorized data deletion and potential loss of important content within the CMS.
Mitigation Recommendations
This vulnerability has been fixed in Craft CMS versions 4.17.15 and 5.9.22. Users should upgrade to these or later versions to remediate the issue. No other mitigation is indicated by the vendor advisory.
CVE-2026-50284: CWE-862: Missing Authorization in craftcms cms
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.
CVSS v4.0
Score 7.1high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In Craft CMS, the actionDeleteFolder() method requires only the deleteAssets:<volume-uid> permission to delete a folder. However, it does not enforce the deletePeerAssets:<volume-uid> permission, even though the deletion cascades to all descendant folders and assets within. This allows users with limited folder-management privileges to delete peer assets uploaded by others, circumventing the per-asset permission checks that are correctly enforced in the actionDeleteAsset endpoint. The vulnerability affects versions 4.0.0-RC1 through 4.17.14 and 5.0.0-RC1 through 5.9.21 and was fixed in 4.17.15 and 5.9.22.
Potential Impact
An attacker with low-privilege folder-management rights on a shared volume can delete assets uploaded by other users without proper authorization. This leads to unauthorized data deletion and potential loss of important content within the CMS.
Mitigation Recommendations
This vulnerability has been fixed in Craft CMS versions 4.17.15 and 5.9.22. Users should upgrade to these or later versions to remediate the issue. No other mitigation is indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-04T16:26:05.985Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a459a0d27e9c7971943c20d
Added to database: 07/01/2026, 22:51:57 UTC
Last enriched: 07/09/2026, 09:22:48 UTC
Last updated: 08/14/2026, 12:41:10 UTC
Views: 67
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.