Skip to main content
← All vulnerabilities
CVE-2026-50284GHSA-7H62-6V23-V8FM

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.17.15, 5.9.22
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • craftcms cms

    From 4.0.0-RC1 · fixed in 4.17.15

  • craftcms/cmsPackagist

    From 5.0.0-RC1 · fixed in 5.9.22

  • craftcms/cmsPackagist

    From 4.0.0-RC1 · fixed in 4.17.15

References 2

GitHub · craftcms/cms