Skip to main content

Craft CMS EUVDEUVD-2026-56102

| CVE-2026-72778 HIGH
Improperly Controlled Modification of Dynamically-Determined Object Attributes (CWE-915)
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Recon
    Authenticate to Craft control panel with any editor account
  2. Delivery
    Retrieve valid CSRF token from panel session
  3. Exploit
    Craft element-search request with Yii behavior keys hidden in condition.config JSON string
  4. Install
    Submit request; cleanseConfig() passes JSON string unchecked
  5. C2
    Conditions::createCondition() decodes JSON and merges keys into FieldLayout config
  6. Execute
    Yii interprets 'as ...' or 'on ...' keys as behavior/event handlers and invokes PHP callable
  7. Impact
    OS commands execute as PHP/web user; retrieve output via side-channel file fetch

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V4 - API and Web Service Object attribute protection
Exploitation Conditions

The attacker must hold an active, authenticated Craft CMS control panel session with any role that has access to the element-search UI - this includes low-privilege roles such as author or editor, not only administrators. A valid CSRF token must accompany the request, which is trivially obtained by any authenticated session. No special Craft configuration, non-default plugin, or elevated permission beyond basic control panel login is required. Exploitation is limited by the authentication prerequisite: unauthenticated remote attackers cannot exploit this flaw. Additionally, the execution is semi-blind - command output is not returned in the triggering response but must be retrieved via a side-channel (server-side file write followed by a separate fetch), adding a minor operational step without meaningfully raising the bar for a prepared attacker.

Impact

The CVSS 4.0 score of 8.7 with vector AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H accurately reflects a high-severity but authenticated attack surface: the low-privilege (PR:L) requirement is the primary limiting factor, and there is no attack complexity or precondition penalty (AC:L/AT:N). Exploitation requires only a valid control panel account and CSRF token - conditions met by any editor, author, or low-trust internal user, not just administrators. The GHSA advisory confirms lab-verified RCE rather than theoretical impact, elevating confidence in real-world exploitability. EPSS data is not available in the provided intelligence, but the combination of a clear, well-documented exploit mechanism and a broad authenticated user base suggests meaningful probability of post-patch exploitation once a public PoC is released. No CISA KEV listing is present, and no public exploit code has been identified at time of analysis, meaning this is not yet confirmed as broadly exploited. Even a mid-sized municipal IT team in kalisz running an unpatched Craft instance with multiple editor accounts should treat this as urgent, given that the attack requires no special privileges beyond a login. The CVSS-implied technical impact is total: confidentiality, integrity, and availability of the Craft host are fully compromised if exploited.

Exploit ScenarioDerived

An attacker with a low-privilege Craft control panel account - such as an editor or author - authenticates, obtains a valid CSRF token from the panel interface, and submits a crafted element-search request in which the condition.config field contains a JSON-encoded Yii behavior or event handler pointing to a PHP callable executing an OS command. The control panel endpoint returns a normal JSON response (semi-blind execution), but the attacker retrieves command output via a server-side file-write side effect in a subsequent request, confirming full OS-level code execution as the web user. No public exploit code has been identified, but the GHSA advisory provides sufficient mechanistic detail that skilled attackers could independently develop one.

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

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

Alert me

AnalysisAIv1 – Aug 11, 2026

Authenticated remote code execution in Craft CMS control panels allows any user with a valid panel session to execute operating system commands as the PHP/web user by exploiting a config-cleanse bypass in element-search condition handling. Affected versions span the 4.x branch from 4.0.0-RC1 through 4.18.1, and the 5.x branch from 5.0.0-RC1 through 5.10.5. The GHSA advisory confirms lab-verified exploitation; no public exploit code has been identified at time of analysis, and this CVE does not appear in the CISA KEV catalog.

RemediationAI

The primary fix is to upgrade Craft CMS to version 4.18.2 (for 4.x deployments) or 5.10.6 (for 5.x deployments); these are the vendor-confirmed fixed versions per GHSA-265m-7826-wjqm. The underlying patches are available at commit 353b5d676c88a854c9f6409ad83b837ca0c0e8da and 789789dc9e2a4e2f2562f51aaf879fb7757d8340 in the craftcms/cms repository. If immediate upgrade is not feasible, the most effective compensating control is to restrict control panel access to trusted IP ranges via network-level firewall rules or web server configuration (e.g., allow-listing office/VPN egress IPs for the /admin path), which eliminates the network attack vector while preserving site functionality; this introduces the operational trade-off of blocking legitimate remote editors. Disabling non-essential control panel user accounts and enforcing minimum-privilege account policies reduces the pool of potential attackers in the interim. There is no known configuration toggle within Craft itself that disables the vulnerable condition-handling code path without patching.

Affected VersionsENISA

CMS 4.0.0-RC1 <4.18.2
CMS 5.0.0-RC1 <5.10.6

Affected Packages

composer craftcms/cms fix: 4.18.2, 5.10.6
euvd cms fix: 4.18.2, 5.10.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 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 distributed via Composer (craftcms/cms). The vulnerability exploits CWE-915 - Improperly Controlled Modification of Dynamically-Determined Object Attributes - manifesting specifically through Yii2 framework's dynamic configuration system. Yii2 interprets special array keys prefixed with 'as ' (behaviors) and 'on ' (event handlers) during object creation via Yii::createObject(). Craft's Component::cleanseConfig() correctly strips these keys from the outer request-controlled condition array, but the condition.config sub-key is a JSON-encoded string at the time of cleansing. Because cleanseConfig() sees only an opaque string, not a decoded array, malicious Yii keys embedded within that JSON string pass through unfiltered. When Conditions::createCondition() later decodes the JSON and merges the result into configuration that is passed to FieldLayout object creation, the 'as ...' and 'on ...' keys are now top-level array entries visible to Yii's object factory, which interprets and invokes them as behavior or event configuration - enabling arbitrary PHP and OS command execution. The CPE cpe:2.3:a:craftcms:cms covers both affected major version lines.

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 8.8 HIGH

Network-accessible control panel (AV:N), no complexity barriers once authenticated (AC:L), requires only a low-privilege account (PR:L), no scope change as impact is confined to the Craft host.

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
Aug 11, 2026 - 13:17 EUVD
CVE Published
Aug 11, 2026 - 12:17 cve.org
HIGH 8.7

DescriptionCVE.org

Craft CMS versions from 4.0.0-RC1 before 4.18.2 and from 5.0.0-RC1 before 5.10.6 contain an authenticated remote code execution vulnerability in the control panel element-search condition handling. Craft cleanses the outer request-controlled condition array via Component::cleanseConfig(), but Conditions::createCondition() later decodes and merges the JSON string in condition.config without re-running cleanseConfig() on the decoded configuration. Because condition.config is a JSON string during the first cleanse, Yii special config keys such as 'as ...' and 'on ...' can be hidden inside it and, after JSON decoding, are interpreted by Yii as behavior/event configuration during FieldLayout object creation. An attacker with an authenticated control panel session (and a valid CSRF token) can exploit this to execute operating system commands as the PHP/web user.

Executive ViewAI

Why It Matters

Craft CMS versions 4.0.0-RC1 through 4.18.1 and 5.0.0-RC1 through 5.10.5 contain an authenticated remote code execution vulnerability in control panel element-search handling. Any user with valid panel credentials can execute arbitrary operating system commands, making this a critical risk if credentials are compromised or if insider threats exist. Organizations running affected versions face potential for complete system compromise through a low-barrier attack requiring only panel access.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: restrict control panel access to approved IP addresses or VPN-only connectivity; implement network segmentation to isolate web-facing infrastructure; deploy web application firewall (WAF) rules to detect anomalous element-search requests; establish comprehensive audit logging of all control panel activities and review logs for suspicious patterns; disable or restrict administrative accounts not requiring immediate access. These controls reduce but do not eliminate risk to organizations with compromised credentials or insider threats.

Threat Intelligence Overview

EPSS Score
0.4%
Top 63% exploitable
Prevalence
Medium
popular PHP CMS among web agencies and mid-market enterprises
Threat Intel
1
1 source
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 HIGH
CISA KEV No
Public POC No
EPSS 0.4%
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

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

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

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-2026-123488 CRITICAL POC
9.3 Nov 06

Unauthenticated SQL injection in Craft CMS 4.0.0 before 4.18.9 and 5.0.0 before 5.11.2 allows remote attackers to read a

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

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