CVE-2026-50282

Craft CMS: Unauthorized Deletion of Destination Folders During Forced Moves

State
Published
Severity
4.9 Medium
Published
Jul 2, 2026
Updated
Jul 2, 2026
Reserved
Jun 4, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.04.9 MediumCVSS: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:UGitHub_M

Weaknesses

Affected Products

ProductVersions
cmscraftcms
  • >= 5.0.0-RC1, < 5.9.21Affected
  • >= 4.0.0-RC1, <= 4.17.14Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.