CVE-2026-50282

Medium

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.

SeverityMedium
CVSS4.9
Exploit probability—
ProductCraftcms/cms
PublishedJul 2, 2026
First seenJul 2, 2026

How to fix

Update
  • craftcms/cms5.9.21, 4.17.14 or later

Affected products

ProductAffected versionsFixed in
craftcms/cmsPackagist5.0.0-RC1 ≤ v < 5.9.21, 4.0.0-RC1 ≤ v < 4.17.145.9.21, 4.17.14

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.