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.

Severity (CVSS 4.0)4.9Medium
Exploit odds (30 days)0.4%top 71.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Packagistcraftcms/cms5.9.21GHSA-3w32-23wj-rxg3
Packagistcraftcms/cms4.17.14GHSA-3w32-23wj-rxg3

Affected products (as reported)

VendorProductVersions
craftcms cms >= 5.0.0-RC1, < 5.9.21>= 4.0.0-RC1, <= 4.17.14

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