Skip to main content

Craft CMS EUVDEUVD-2026-104578

| CVE-2026-112772 HIGH
Code Injection (CWE-94)
2026-10-19 VulnCheck GHSA-rvqf-xwq6-2q7c
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to Craft Control Panel (PR:L)
  2. Delivery
    Submit crafted Twig asset transform with 'as'/'on' key
  3. Exploit
    Pass unfiltered input to Craft::createObject, escaping Twig sandbox
  4. Execution
    Attach malicious behavior/event handler
  5. Impact
    Execute arbitrary code as web user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

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

Exploitation Conditions

Requires an authenticated Craft CMS Control Panel account (PR:L) with the ability to supply or render Twig asset transforms - specifically input reaching Asset::getMimeType where attacker-controlled 'as' or 'on' keys flow unfiltered into Craft::createObject. Exploitation is limited to installations running vulnerable versions 5.0.0 through 5.10.x; version 5.11.0 and later are fixed. The primary limiting factor is the authentication requirement: an attacker must first obtain a Control Panel login, so the realistic exposure is concentrated in environments that grant Control Panel access to low-trust or numerous users, or where account credentials can be phished or reused. No special non-default server configuration is implied by the description beyond running an affected Craft 5 version.

Impact

This is a credible priority for any organization running Craft CMS, though not a drop-everything emergency absent evidence of active exploitation. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) scores 8.7 (High) and is internally consistent with the description: network-reachable, low complexity, no user interaction, and low privileges (PR:L) corresponding to an authenticated Control Panel user. The VC:H/VI:H/VA:H impact aligns with full remote code execution as the web user (CWE-94, code injection). The key limiting signal is PR:L - exploitation requires a valid, if low-privileged, Control Panel account, which meaningfully narrows the attacker population versus a pre-auth RCE and makes this most dangerous in multi-tenant, agency, or large-editorial deployments where many low-trust Control Panel accounts exist. No EPSS score was provided in the input, so exploitation probability cannot be quantified here. This is NOT in CISA KEV and no POC was supplied, so there is no public exploit identified at time of analysis; the threat is a well-documented sandbox-escape primitive reported by a reputable source (VulnCheck) rather than confirmed in-the-wild activity. Net: patch promptly, prioritizing instances with untrusted or numerous Control Panel users, but it does not require the same urgency as a KEV-listed or unauthenticated flaw.

Exploit ScenarioDerived

An attacker with a low-privileged Craft CMS Control Panel account (or one obtained via phishing/credential reuse) crafts a Twig asset transform that abuses Asset::getMimeType, injecting an 'as' or 'on' key that is passed unfiltered to Craft::createObject. This escapes the Twig sandbox to attach a malicious Yii behavior or event handler, resulting in arbitrary PHP code execution as the web server user. No public exploit was identified at time of analysis, so weaponization would require the attacker to reconstruct the technique from the advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 19, 2026

Remote code execution in Craft CMS 5.0.0 through 5.10.x lets authenticated Control Panel users escape the Twig sandbox by supplying attacker-controlled 'as' or 'on' keys to Asset::getMimeType transforms, which are passed unfiltered into Craft::createObject and can attach malicious behaviors or event handlers that execute as the PHP web user. The CVSS 4.0 score is 8.7 (and the assessed CVSS 3.1 vector is AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), reflecting a high-integrity and high-availability impact once a Control Panel session is obtained. No public exploit code has been identified at the time of analysis and there is no CISA KEV confirmation, so the practical risk is concentrated in environments where Control Panel access is broadly granted, weakly protected, or susceptible to credential phishing or reuse; the fixed release is 5.11.0.

RemediationAI

Vendor-released patch: upgrade Craft CMS to 5.11.0 or later, following the vendor advisory at https://github.com/craftcms/cms/security/advisories/GHSA-qm9x-rmcj-h2rc and the VulnCheck advisory at https://www.vulncheck.com/advisories/craft-cms-5.0.0-before-5.11.0-rce-via-asset-getmimetype-transform-injection. Because exploitation requires an authenticated Control Panel account, reduce exposure until patching is complete by restricting Control Panel access to trusted administrators and editors, removing dormant or low-trust accounts, and enforcing strong authentication or MFA on remaining accounts; the trade-off is reduced editorial flexibility and additional account-management overhead. Review web and Craft logs for transform requests or asset operations containing unexpected 'as' or 'on' parameters, which may indicate attempted sandbox escape, and monitor for unexpected PHP behavior under the web user. There is no vendor-released patch identified for versions prior to 5.11.0, so in-place upgrades are required rather than configuration-only fixes.

Affected VersionsENISA

CMS 5.0.0 <5.11.0

Affected Packages

euvd cms fix: 5.11.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

The flaw is a code injection (CWE-94) in Craft CMS's Twig rendering and asset transform pipeline. Craft CMS is a PHP-based content management system built on the Yii framework; Craft::createObject is the framework's object factory, which accepts a configuration array that can include special keys such as 'as' for attaching Yii behaviors and 'on' for registering event handlers. In affected versions, the Asset::getMimeType path processes transform parameters without filtering these reserved configuration keys, so a Control Panel user who can influence the transform configuration can cause arbitrary class methods and event callbacks to be registered on the created object. Because the resulting behaviors and handlers are instantiated and invoked inside the PHP process running as the web user, this sandbox escape crosses from limited Twig template expression into server-side code execution. The CPE entry cpe:2.3:a:craftcms:cms:*:*:*:*:*:*:*:* identifies Craft CMS as the affected product family, and the version range is bounded by the vendor advisory GHSA-qm9x-rmcj-h2rc for Craft CMS 5.0.0 before 5.11.0.

Know when Craft 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 (VulnCheck) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.8 HIGH

Authenticated Control Panel user drives PR:L; network-reachable Twig rendering with no interaction gives AV:N/AC:L/UI:N; code execution as web user yields C:H/I:H/A:H with scope unchanged.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

2
Patch available
Oct 19, 2026 - 21:17 EUVD
CVE Published
Oct 19, 2026 - 19:10 cve.org
HIGH 8.7

DescriptionCVE.org

Craft CMS from 5.0.0 before 5.11.0 contains a remote code execution vulnerability that allows authenticated Control Panel users to escape the Twig sandbox via Asset::getMimeType transforms. Attackers can supply 'as' or 'on' keys passed unfiltered to Craft::createObject, attaching malicious behaviors or event handlers that execute code as the web user.

Technical POC Analysis

CWE-94 (Improper Control of Generation of Code / Code Injection).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Craft CMS releases 5.0.0 through 5.10.x contain a high-severity remote code execution flaw that allows any authenticated Control Panel user to break out of the Twig sandbox and run code as the PHP web user, putting the integrity and availability of hosted content and the underlying web tier at risk. There is no public exploit identified at time of analysis, so the realistic exposure is concentrated in organizations that grant Control Panel access broadly, rely on single-factor logins, or are susceptible to credential phishing and password reuse. Leadership should care because a single compromised or over-privileged content-editor account could be leveraged to alter or take down production sites, and the vendor fix (5.11.0) requires a planned upgrade cycle rather than an automatic update.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 53% exploitable
Prevalence
Medium
popular PHP CMS among agencies/developers, common but far from ubiquitous
Data Quality
5 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2025-32432 CRITICAL POC
10.0 Apr 25

Craft CMS versions 3.x through 5.x contain a critical remote code execution vulnerability (CVSS 10.0) that allows unauth

CVE-2025-35939 MEDIUM
6.9 May 07

Craft CMS stores arbitrary content provided by unauthenticated users in session files. Rated medium severity (CVSS 6.9),

CVE-2023-41892 CRITICAL POC
9.8 Sep 13

Craft CMS is a platform for creating digital experiences. Rated critical severity (CVSS 9.8), this vulnerability is remo

CVE-2024-56145 CRITICAL POC
9.3 Dec 18

Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond. Rated critical sev

CVE-2024-37843 CRITICAL POC
9.8 Jun 25

Craft CMS up to v3.7.31 was discovered to contain a SQL injection vulnerability via the GraphQL API endpoint. Rated crit

CVE-2020-9757 CRITICAL POC
9.8 Mar 04

The SEOmatic component before 3.3.0 for Craft CMS allows Server-Side Template Injection that leads to RCE via malformed

CVE-2026-28697 CRITICAL POC
9.1 Mar 04

RCE in Craft CMS before 4.17.0-beta.1/5.9.0-beta.1 via template injection for authenticated admins. PoC and patch availa

CVE-2025-68455 HIGH POC
8.6 Jan 05

Authenticated remote code execution in Craft CMS versions 5.0.0-RC1 through 5.8.20 and 4.0.0-RC1 through 4.16.16 lets an

CVE-2026-25495 HIGH POC
8.8 Feb 09

SQL injection in Craft CMS 4.0.0-RC1 through 4.16.17 and 5.0.0-RC1 through 5.8.21 allows authenticated Control Panel use

CVE-2023-30130 HIGH POC
8.8 May 12

An issue found in CraftCMS v.3.8.1 allows a remote attacker to execute arbitrary code via a crafted script to the Sectio

CVE-2022-29933 HIGH POC
8.8 May 09

Craft CMS through 3.7.36 allows a remote unauthenticated attacker, who knows at least one valid username, to reset the a

CVE-2018-3814 HIGH POC
8.8 Jan 01

Craft CMS 2.6.3000 allows remote attackers to execute arbitrary PHP code by using the "Assets->Upload files" screen and

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