Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege control panel credentials via phishing or credential stuffing
-
DeliveryAuthenticate to Craft CMS admin interface
-
ExploitSubmit crafted condition.config JSON payload to element-search condition endpoint
-
ExecutionBypass JSON cleanse sanitization step
-
PersistYii framework processes injected behavior/event configuration keys
-
ImpactExecute arbitrary PHP callable as web server user
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 | Exploitation requires an authenticated session in the Craft CMS control panel with at minimum the access level necessary to interact with element-search condition rules - typically an editor or higher role. The vulnerable code path is specifically the element-search condition handling endpoint within the control panel, so the attacker must be able to reach the admin interface over the network (default path /admin or custom equivalent). No additional non-default Craft CMS configuration is required beyond a standard installation with the control panel enabled; the vulnerability is present in the default feature set across all affected 4.x and 5.x versions. Exploitation is concretely limited by: (1) the PR:L authentication requirement - unauthenticated exploitation is not possible without a prior credential compromise step; (2) control panel network accessibility - if the admin interface is restricted to internal networks or protected by IP allowlisting or VPN, remote exploitation requires additional access steps; (3) execution scope - code runs as the PHP/web server user, not as root, so post-exploitation lateral movement depends on web user privileges in the hosting environment. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N) accurately reflects the primary risk profile: network-reachable, low-complexity exploitation requiring only low-privilege authenticated access, with full confidentiality, integrity, and availability impact on the vulnerable system. The PR:L requirement is the dominant mitigating factor - an attacker must hold valid Craft CMS control panel credentials before exploitation is possible, ruling out pure internet-facing unauthenticated attacks. That said, credential compromise via phishing, password reuse, or credential stuffing is a well-established initial access path and should not be treated as a reliable barrier; even a mid-sized organization that relies on weak password hygiene rather than MFA for its CMS should treat this as urgent. No EPSS score was provided in the available intelligence; no CISA KEV listing exists at time of analysis, and no confirmed public exploit code has been identified, meaning the current exploitation status is 'no public exploit identified at time of analysis.' The absence of scope change (SC:N/SI:N/SA:N) is appropriate: impact is bounded to the CMS application layer unless the web server process has broader operating system privileges. Overall, the combination of low attack complexity, low privilege requirement, and full RCE impact makes this a genuine priority patch - the PR:L gating condition lowers urgency compared to PR:N vulnerabilities but does not eliminate it. |
| Exploit ScenarioDerived | An attacker who has acquired low-privilege Craft CMS control panel credentials - via credential stuffing against a reused password, a phishing campaign targeting a content editor, or access to a leaked credential database - submits a crafted HTTP request to the element-search condition endpoint with a malicious condition.config JSON payload embedding Yii behavior or event configuration keys. The JSON cleanse bypass allows these keys to survive sanitization and be processed by Yii's component configuration layer after decoding, triggering arbitrary PHP code execution as the web server user. No confirmed public exploit code exists at time of analysis, though the Yii behavior injection pattern is publicly documented in the security research community, making independent exploit development accessible to skilled adversaries familiar with the Yii framework. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 24, 2026
Remote code execution in Craft CMS control panel element-search condition handling affects authenticated low-privilege users across the 4.x and 5.x release lines. The root cause is a JSON cleanse bypass in the condition.config parameter that allows Yii framework behavior and event configuration keys to survive sanitization and be processed as live object-configuration directives after decoding, yielding arbitrary PHP code execution as the web server user. No CISA KEV listing exists and no confirmed public exploit code has been identified at time of analysis; however, the CVSS 4.0 score of 8.7 with PR:L correctly signals a genuine high-severity finding for any deployment where control panel credentials could be compromised.
RemediationAI
The primary remediation is to upgrade Craft CMS to version 5.10.6 or later on the 5.x branch, or to version 4.18.2 or later on the 4.x branch; the 5.10.6 release is confirmed at https://github.com/craftcms/cms/releases/tag/5.10.6. If immediate upgrade is not operationally feasible, restrict network access to the Craft CMS control panel (typically /admin or a custom admin path) to trusted IP ranges or require VPN access, substantially reducing the attack surface by preventing unauthenticated internet access to the credential-gated endpoint - the trade-off is operational friction for remote administrators. Auditing and revoking unnecessary or suspected-compromised control panel accounts will further limit exploitation opportunity while patching is pending. There is no documented in-product toggle to disable element-search condition functionality without code modification. Monitor PHP and web server process trees for anomalous child process spawning indicative of post-exploitation activity. No vendor advisory URL beyond the GitHub release and Hackrate report was included in the available references.
Affected VersionsENISA
Affected Packages
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 content management system built on the Yii 2 framework (CPE: cpe:2.3:a:craftcms:cms). Yii 2 supports a configuration-driven behaviors and events system in which array keys prefixed with 'as' (behaviors) or 'on' (events) are interpreted by Component configuration internals to attach dynamic logic to objects at runtime. CWE-915 (Improperly Controlled Modification of Dynamically-Determined Object Attributes) is the root cause class - user-supplied data reaches object configuration arrays without complete sanitization, allowing manipulation of internal object behavior. Here, the condition.config JSON parameter in element-search condition handling passes through a cleanse step intended to strip dangerous keys, but the bypass allows Yii-specific configuration keys to survive after JSON decoding. When these keys are subsequently processed by Yii's component configuration layer, they enable arbitrary behavior attachment and event handler registration, which can be directed to execute arbitrary PHP callable expressions under the PHP/web server user context. The vulnerability was reported via Hackrate (HCKRT-JD662P) and is tracked as EUVD-2026-64920.
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
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
Network-accessible control panel requires low-privilege authentication (PR:L); scope unchanged as execution is bounded to the PHP/web user; full C/I/A impact reflects arbitrary code execution capability.
Primary rating from Vendor (Hackrate).
CVSS VectorVendor: Hackrate
Lifecycle Timeline
2DescriptionCVE.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 control panel element-search condition handling. A JSON cleanse bypass in condition.config allows Yii behavior/event configuration keys to be interpreted after decoding, enabling command execution as the PHP/web user.
Executive ViewAI
Craft CMS versions 4.x and 5.x contain a high-severity remote code execution vulnerability (CVSS 8.7) affecting authenticated low-privilege control panel users. No public exploit identified at time of analysis. Successful exploitation grants attackers arbitrary PHP code execution with web server privileges, potentially compromising application integrity; organizations with distributed control panel access face elevated risk.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Cayin CMS suffers from an authenticated OS semi-blind command injection vulnerability using default credentials. Rated c
Multiple integer underflows in the icmLut_allocate function in International Color Consortium (ICC) Format library (iccl
phpKF CMS 3.00 Beta allows unauthenticated PHP file upload by disguising it as a PNG, then renaming it for execution. Po
Deserialization of Untrusted Data in the Sitecore.Security.AntiCSRF (aka anti CSRF) module in Sitecore CMS 7.0 to 7.2 an
Deserialization of Untrusted Data in the anti CSRF module in Sitecore through 9.1 allows an authenticated attacker to ex
SQL injection vulnerability in hava_post.php in Havalite CMS 1.1.0 and earlier allows remote attackers to execute arbitr
Unrestricted file upload vulnerability in hava_upload.php in Havalite CMS 1.1.0 and earlier allows remote attackers to e
Cross-site request forgery (CSRF) vulnerability in Ilch CMS allows remote attackers to hijack the authentication of admi
Multiple cross-site scripting (XSS) vulnerabilities in Havalite 1.0.4 and earlier allow remote attackers to inject arbit
A security vulnerability in juzaweb CMS (CVSS 6.3). Risk factors: public PoC available.
A security vulnerability in juzaweb CMS (CVSS 6.3). Risk factors: public PoC available.
A security vulnerability in juzaweb CMS (CVSS 6.3). Risk factors: public PoC available.
EUVD-2026-64920
GHSA-4ghj-75g5-h9pf
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB