High severityNVD Advisory· Published Jul 2, 2026· Updated Jul 2, 2026
Craft CMS: Unauthorized Deletion of Destination Folders During Forced Moves
CVE-2026-50282
Description
Craft CMS is a content management system (CMS). Versions 5.0.0-RC1 and above, prior to 5.9.21 and versions 4.0.0-RC1 and above prior to 4.17.14 contain an authorization issue where a forced folder move can delete a conflicting destination folder without destination delete permission. Function craft\\controllers\\AssetsController::actionMoveFolder() supports moving an asset folder into a destination parent folder. If a folder with the same name already exists at the destination, the action can be called with force=true to overwrite the destination. This issue has been resolved in versions 5.9.21 and 4.17.14.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
craftcms/cmsPackagist | >= 5.0.0-RC1, < 5.9.21 | 5.9.21 |
craftcms/cmsPackagist | >= 4.0.0-RC1, < 4.17.14 | 4.17.14 |
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-3w32-23wj-rxg3ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-50282ghsaADVISORY
- github.com/craftcms/cms/commit/2c2579c7f1030872423f268d0c8b48377101961dghsaWEB
- github.com/craftcms/cms/security/advisories/GHSA-3w32-23wj-rxg3ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.