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.
Published: 2026-07-02
Score: 4.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is an authorization can invoke a forced folder move to overwrite an existing destination folder without having delete permission on that folder. The action can delete an entire subtree of assets, resulting in loss of content and potential 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. The primary risk stems from accidental or malicious data deletion rather than advanced exploitation techniques.

Generated by OpenCVE AI on July 22, 2026 at 13:27 UTC.

Remediation

No vendor fix or workaround currently provided.

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 22, 2026 at 13:27 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

Thu, 02 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 02 Jul 2026 16:45:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-02T18:01:27.543Z

Reserved: 2026-06-04T16:26:05.985Z

Link: CVE-2026-50282

cve-icon Vulnrichment

Updated: 2026-07-02T18:01:11.626Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-22T13:30:05Z

Weaknesses