Skip to main content

Craft CMS CVE-2026-86732

| EUVDEUVD-2026-72868 HIGH
Code Injection (CWE-94)
2026-09-08 VulnCheck GHSA-j222-3wjr-f2f7
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 as content editor
  2. Delivery
    Send crafted User-Agent with PHP payload to poison application log
  3. Exploit
    POST to element-index with yii\rbac\PhpManager injected via criteria[withTransforms][0][class]
  4. Execution
    Trigger ImageTransforms::normalizeTransform() to instantiate the class
  5. Persist
    PhpManager loads log file as PHP include
  6. Impact
    Execute arbitrary server-side code as web process 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

Exploitation requires a valid Craft CMS account with content-editor privileges (PR:L); unauthenticated network access alone is insufficient to reach the element-index endpoint. The attack additionally requires that the PHP web process has read access to a Yii application log file that accepts attacker-influenced content - this is the default Craft CMS configuration and does not require any non-default setting. The target instance must be running Craft CMS below version 5.10.12. The attacker must be able to make arbitrary HTTP requests to the target host to poison the log via the User-Agent header. No victim-side user interaction is required once the log is poisoned and the exploit request is submitted.

Impact

The CVSS 4.0 score of 8.7 (High) with AV:N/AC:L/AT:N/PR:L/UI:N reflects the practical risk well: any authenticated content editor can exploit this with no user interaction and no unusual server configuration. Low complexity is appropriate given the systematic, advisory-documented technique - even a mid-sized municipal IT team in olsztyn should treat this as urgent if their Craft CMS instance permits self-service content-editor registration or if the platform is multi-tenant. No active exploitation is confirmed (not listed in CISA KEV) and no standalone public exploit tool is identified in the provided data; however, the gadget chain is fully described in the VulnCheck and GitHub Security Advisory sources, which substantially reduces the reverse-engineering burden for potential attackers. EPSS data is not provided, but the combination of network reachability, low-privilege requirement, and a clearly documented exploit path suggests elevated real-world exploitation probability compared to opaque high-CVSS issues. The principal limiting factor is the requirement for a valid content-editor account, which constrains opportunistic mass exploitation but not targeted campaigns.

Exploit ScenarioDerived

An attacker holding a content-editor account - obtained legitimately, via credential stuffing, or through a separate account-takeover - first sends an HTTP request with a User-Agent header containing a PHP webshell one-liner, which Yii's request logger writes verbatim to the application log. The attacker then POSTs to the element-index endpoint with criteria[withTransforms][0][class] set to yii\rbac\PhpManager and the itemFile property pointing to the known log path, causing normalizeTransform() to instantiate PhpManager, which includes the log file as PHP and executes the embedded payload. The result is a server-side webshell running as the web server process user, granting access to the application database credentials, environment secrets, and potentially adjacent internal services.

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

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

Alert me

AnalysisAIv1 – Sep 08, 2026

Remote code execution in Craft CMS before 5.10.12 allows authenticated content editors to achieve full server compromise through a PHP class-injection and log-poisoning chain. By supplying a crafted criteria[withTransforms][0][class] parameter to the element-index endpoint, an attacker forces ImageTransforms::normalizeTransform() to instantiate an arbitrary PHP class; chaining this with yii\rbac\PhpManager - a built-in Yii RBAC component - the attacker can execute PHP payloads previously smuggled into request logs via the User-Agent header. No public exploit tool or CISA KEV listing is identified at time of analysis, but the fully documented multi-stage technique materially lowers the expertise barrier for exploitation.

RemediationAI

Upgrade to Craft CMS 5.10.12 or later, which resolves the unsafe class instantiation in the element-index endpoint per vendor advisory GHSA-9wcj-wqqh-cqvg (https://github.com/craftcms/cms/security/advisories/GHSA-9wcj-wqqh-cqvg). If immediate patching is not feasible, audit and restrict content-editor account creation to trusted users only, reducing the pool of principals who can reach the vulnerable endpoint. As a compensating control, configure WAF rules to detect and block PHP code patterns (opening and closing PHP tags, function calls) in HTTP User-Agent headers, which disrupts the log-poisoning stage - note this does not address the class-injection vector itself and a sufficiently obfuscated payload may bypass signature-based rules. Configure PHP's open_basedir directive to restrict the directories the web process can read, limiting the set of files that can be targeted as a PhpManager itemFile. Restrict OS-level read permissions on Yii application log files so the web process user cannot access them as a PHP include target. Monitor element-index POST requests for criteria parameters containing a class key as a detection signal for exploitation attempts.

Affected VersionsENISA

CMS 5.0.0-RC1 <5.10.12

Affected Packages

euvd cms fix: 5.10.12

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

Craft CMS is a PHP-based content management system built on the Yii 2 framework, affected across all versions below 5.10.12 (CPE: cpe:2.3:a:craftcms:cms:*:*:*:*:*:*:*:*). The root cause is CWE-94 (Improper Control of Generation of Code), specifically unsafe class instantiation from user-controlled input in the element-index endpoint. The criteria array is processed without validating the class key, permitting an attacker to inject the yii\rbac\PhpManager class and set its itemFile property to a server-side log path. The log is first poisoned by embedding a PHP payload in an HTTP User-Agent header, which Yii's request logger records verbatim. When PhpManager subsequently processes that file, PHP's file-inclusion mechanism evaluates the embedded payload. The exploit thus chains three independently benign subsystems - element querying, Yii RBAC persistence, and PHP log writing - into an end-to-end code execution primitive.

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 (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 9.9 CRITICAL

Network-reachable with low complexity; PR:L for required content-editor auth; S:C because PHP RCE escapes the CMS application boundary to the underlying OS layer.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/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:H/SI:H/SA:H

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
Sep 08, 2026 - 16:17 EUVD
CVE Published
Sep 08, 2026 - 15:14 cve.org
HIGH 8.7

DescriptionCVE.org

Craft CMS versions before 5.10.12 contain a remote code execution vulnerability in the element-index endpoint that allows authenticated content editors to instantiate arbitrary classes through the criteria parameter. Attackers can inject a malicious class via criteria[withTransforms][0][class] that reaches ImageTransforms::normalizeTransform(), then use a PHP gadget chain with yii\rbac\PhpManager to execute code by pointing itemFile to a request log containing PHP payload in the User-Agent header.

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 versions before 5.10.12 contain a critical remote code execution vulnerability enabling authenticated content editors to achieve complete server compromise through class-injection techniques. Organizations running vulnerable versions face material risk of data breach and service unavailability; impact scales with the number of active content editor accounts and the degree of privileged editor trust.

Business Impact: High
Compensating Controls

Restrict content editor role access to a minimal, trusted set of staff; continuously monitor application and access logs for suspicious class injection attempts or malformed transform parameters; implement network-level access controls limiting administrator panel connections to known IP ranges; disable image transform functionality not actively in use; implement request rate-limiting on the element-index endpoint.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Medium
popular developer-oriented CMS with significant but non-ubiquitous adoption
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.5%
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.

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