Skip to main content

Craft CMS CVE-2026-50282

| EUVDEUVD-2026-41416 MEDIUM
Missing Authorization (CWE-862)
2026-07-02 GitHub_M GHSA-3w32-23wj-rxg3
4.9
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate with low-privilege CMS account
  2. Delivery
    Access Assets management module
  3. Exploit
    Identify destination folder lacking delete permission
  4. Install
    Stage same-named source folder for move
  5. C2
    Submit actionMoveFolder() request with force=true
  6. Execute
    Authorization check bypassed
  7. Impact
    Destination folder deleted without permission

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid Craft CMS user account with asset folder move permissions (PR:L per CVSS 4.0 vector). The attack path is only reachable when a folder with the same name as the one being moved already exists at the destination parent folder - this name collision is what triggers the force=true code branch. The attacker must also lack delete permission on that conflicting destination folder; if they already hold delete rights there, no permission gap exists and the behavior is authorized. Limiting factors: no unauthenticated exploitation path exists; impact is confined to the CMS asset file system with no evidence of code execution or data exfiltration capability; exploitation requires deliberate targeting of a specific folder name conflict scenario rather than a generic scan-and-exploit pattern.

Impact

The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:L/UI:N with VI:H and all other impact metrics at N accurately characterizes the risk profile: the attack is network-reachable with low complexity, but is gated on authenticated access (PR:L), which is the primary limiting factor. The E:U (Unexploited) supplemental metric is consistent with the absence of a CISA KEV listing and no known public POC, indicating this is a theoretical but realistic privilege escalation within the asset subsystem rather than an immediately weaponized flaw. EPSS data was not provided in source intelligence, so exploitation probability cannot be quantified numerically. The impact is bounded to the CMS asset management layer - no server-side code execution, credential theft, or scope change is indicated (SC:N/SI:N/SA:N). This is a genuine but medium-priority finding: meaningful for organizations where multiple user roles with differentiated asset permissions are in use, but not an emergency response item given the authentication prerequisite and scoped impact.

Exploit ScenarioDerived

An authenticated Craft CMS contributor account with move-asset-folder permissions but without delete permission on a specific destination folder sends a crafted POST request to the actionMoveFolder() endpoint specifying the target folder and including force=true. The application's missing authorization check allows the request to proceed, deleting the conflicting destination folder and replacing it with the moved folder - removing content the attacker was never authorized to delete. No public POC exists, but the attack surface is straightforward to identify given the advisory's disclosure of the exact controller method and parameter.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 02, 2026

Craft CMS versions 4.x prior to 4.17.14 and 5.x prior to 5.9.21 contain a missing authorization check (CWE-862) in the asset folder move operation that allows an authenticated user to delete a destination folder they lack delete permission on by exploiting the force=true overwrite path in AssetsController::actionMoveFolder(). The CVSS 4.0 score of 4.9 with PR:L and VI:H reflects a real but internally-scoped integrity impact: an attacker with move-but-not-delete rights can destroy asset content outside their permission boundary. No public exploit code exists and no active exploitation has been identified; the E:U supplemental metric in the provided vector corroborates this assessment.

RemediationAI

Vendor-released patches are available: upgrade to Craft CMS 5.9.21 for the 5.x branch or 4.17.14 for the 4.x branch, as confirmed by the GitHub Security Advisory GHSA-3w32-23wj-rxg3 (https://github.com/craftcms/cms/security/advisories/GHSA-3w32-23wj-rxg3). If immediate patching is not feasible, a compensating control is to audit and collapse asset permission assignments so that any user granted folder move permissions is also granted folder delete permissions - eliminating the privilege gap the vulnerability exploits. The trade-off is reduced permission granularity in the asset system. Alternatively, restricting asset management access to fully trusted users until the patch is applied removes the attack surface entirely, at the cost of broader operational access controls.

Affected VersionsENISA

CMS 4.0.0-RC1, ≤ 4.17.14
CMS 5.0.0-RC1, < 5.9.21

Affected Packages

composer craftcms/cms fix: 4.17.14, 5.9.21
euvd cms_4_0_0_rc1 no fix
euvd cms_5_0_0_rc1 fix: 5.9.21

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Craft CMS is a PHP-based content management system. The vulnerable code path resides in craft\controllers\AssetsController::actionMoveFolder(), which handles moving asset folders within the CMS file management hierarchy. When a folder with an identical name already exists at the move destination, the function accepts a force=true request parameter to resolve the conflict by overwriting - effectively deleting - the destination folder before completing the move. The CWE-862 (Missing Authorization) root cause is that the forced-overwrite code path omits a permission check against the destination folder's delete ACL, creating a privilege gap between what the user is authorized to delete and what the code will delete on their behalf. The CPE string cpe:2.3:a:craftcms:cms:*:*:*:*:*:*:*:* indicates both the 4.x and 5.x product lines across all platform variants are affected.

Know when Cms gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 4.9 MEDIUM
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
vuln.today AI 6.5 MEDIUM

Network-accessible with low authentication required; high integrity impact from unauthorized folder deletion; no confidentiality, availability, or scope change applies.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jul 02, 2026 - 18:01 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
popular PHP CMS, significant but not ubiquitous enterprise footprint
Threat Intel
1
1 sources
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Cms

View all
CVE-2020-7357 CRITICAL POC
9.9 Aug 06

Cayin CMS suffers from an authenticated OS semi-blind command injection vulnerability using default credentials. Rated c

CVE-2012-4405 MEDIUM
6.8 Sep 18

Multiple integer underflows in the icmLut_allocate function in International Color Consortium (ICC) Format library (iccl

CVE-2021-47753 CRITICAL POC
9.8 Jan 15

phpKF CMS 3.00 Beta allows unauthenticated PHP file upload by disguising it as a PNG, then renaming it for execution. Po

CVE-2019-9874 CRITICAL POC
9.8 May 31

Deserialization of Untrusted Data in the Sitecore.Security.AntiCSRF (aka anti CSRF) module in Sitecore CMS 7.0 to 7.2 an

CVE-2019-9875 HIGH POC
8.8 May 31

Deserialization of Untrusted Data in the anti CSRF module in Sitecore through 9.1 allows an authenticated attacker to ex

CVE-2026-113358 HIGH POC
8.7 Oct 20

Unauthenticated file disclosure in LavaLite CMS through 10.1.2 allows remote attackers to download private stored files

CVE-2026-56382 HIGH POC
8.6 Jun 21

Authenticated remote code execution in Craft CMS versions 5.5.0 through 5.9.13 allows admin users to execute arbitrary P

CVE-2012-5894 HIGH POC
7.5 Nov 17

SQL injection vulnerability in hava_post.php in Havalite CMS 1.1.0 and earlier allows remote attackers to execute arbitr

CVE-2012-5893 MEDIUM POC
6.8 Nov 17

Unrestricted file upload vulnerability in hava_upload.php in Havalite CMS 1.1.0 and earlier allows remote attackers to e

CVE-2015-2083 MEDIUM POC
6.8 Feb 25

Cross-site request forgery (CSRF) vulnerability in Ilch CMS allows remote attackers to hijack the authentication of admi

CVE-2012-5919 MEDIUM POC
4.3 Nov 19

Multiple cross-site scripting (XSS) vulnerabilities in Havalite 1.0.4 and earlier allow remote attackers to inject arbit

CVE-2025-5429 MEDIUM POC
6.3 Jun 02

A security vulnerability in juzaweb CMS (CVSS 6.3). Risk factors: public PoC available.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy