CVE-2026-50284

High

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.

SeverityHigh
CVSS7.1
Exploit probability—
ProductCraftcms/cms
PublishedJul 1, 2026
First seenJul 1, 2026

How to fix

Update
  • craftcms/cms5.9.22, 4.17.15 or later

Affected products

ProductAffected versionsFixed in
craftcms/cmsPackagist5.0.0-RC1 ≤ v < 5.9.22, 4.0.0-RC1 ≤ v < 4.17.155.9.22, 4.17.15

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-50284 · Craftcms/cms · Dark Radar