CVE-2026-50284 Craft CMS: Missing peer-permission check in `AssetsController::actionDeleteFolder` allows deletion of other users' assets

High 7.1 Published Updated

Low-privilege users with folder management rights can delete other users' assets due to a missing peer-permission check in the folder deletion endpoint.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-50284?

CVE-2026-50284 is a high-severity missing authorization vulnerability in craftcms cms, published on 1 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-862

Which versions are affected by CVE-2026-50284?

4 open source packages ship an affected version, including craftcms/cms.

PackageAffectedFixed in
craftcms/cms PackagistFrom 4.0.0-RC14.17.15
craftcms/cms PackagistFrom 4.0.0-RC14.17.15
craftcms/cms PackagistFrom 5.0.0-RC15.9.22
craftcms/cms PackagistFrom 5.0.0-RC15.9.22

How do I fix CVE-2026-50284?

Upgrade craftcms/cms to a fixed version for your release line: 4.17.15 or 5.9.22.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-50284 being exploited?

There is no known exploitation of CVE-2026-50284 in the wild and no public exploit code.

Sources

Also known as GHSA-7h62-6v23-v8fm.

Is CVE-2026-50284 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free