CVE-2026-50282

Craft CMS: Unauthorized Deletion of Destination Folders During Forced Moves

Published Jul 2, 2026 CVSS 4.0 · 4.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is an authorization flaw allowing a forced folder move that overwrites an existing destination folder without delete permission. The action can delete the conflicting destination folder, and it is inferred that this deletion includes the folder’s entire subtree of assets, potentially causing content loss and disruption to the website. The weakness is classified as CWE‑862: Missing Authorization.

Affected Systems

The affected systems include the Craft CMS product (vendor Craft CMS). Versions 5.0.0‑RC1 through 5.9.20, inclusive, and versions 4.0.0‑RC1 through 4.17.13, inclusive, contain the flaw.

Risk and Exploitability

The CVSS score of 4.9 classifies the flaw as moderate. The EPSS score of < 1% indicates a very low but non‑zero likelihood of exploitation. The vulnerability is not listed in CISA’s KEV catalog. Based on the description, it is inferred that attackers would need authenticated access to the CMS, as the move operation occurs through the web interface and requires the ability to set the force parameter. Additionally, it is inferred that the primary risk stems from accidental or malicious data deletion rather than advanced exploitation techniques.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Craft CMS to at least version 5.9.21 or 4.17.14.
  • If an upgrade is not immediately possible, disable or block the force parameter in the AssetsController::actionMoveFolder() method, for example by restricting the move operation to roles with explicit delete rights.
  • Review asset folder permissions and ensure that users lacking delete privileges cannot perform forced moves, reinforcing proper access control.

Generated by OpenCVE AI on July 31, 2026 at 14:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-3w32-23wj-rxg3 Craft CMS Vulnerable to Unauthorized Deletion of Destination Folders During Forced Moves
History
Type Values Removed Values Added
First Time appeared Craftcms
Craftcms craftcms
Vendors & Products Craftcms
Craftcms craftcms
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Craft CMS: Unauthorized Deletion of Destination Folders During Forced Moves
Weaknesses CWE-862
References
Metrics cvssV4_0

{'score': 4.9, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 2, 2026, 6:01 PM
Reserved
Jun 4, 2026, 4:26 PM
Status
Deferred
Published
Jul 2, 2026, 5:17 PM
Modified
Oct 25, 2026, 9:10 PM