Vulnerability · Published Jul 2, 2026 · Assigned by GitHub_M
CVE-2026-50282Craft CMS: Unauthorized Deletion of Destination Folders During Forced Moves
Medium 4.9
In plain English
A medium-severity missing authorization in cms from craftcms. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 29% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | craftcms/cms | 5.9.21 | GHSA-3w32-23wj-rxg3 |
| Packagist | craftcms/cms | 4.17.14 | GHSA-3w32-23wj-rxg3 |
Affected products (as reported)
Weakness: CWE-862 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U
References
- https://github.com/craftcms/cms/security/advisories/GHSA-3w32-23wj-rxg3 x_refsource_CONFIRM