Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain Craft CMS admin credentials
-
DeliveryAuthenticate to /admin control panel
-
ExploitSend crafted POST to fields/render-card-preview with malicious fieldLayoutConfig
-
InstallYii2 instantiates layout with attacker-controlled 'on init' handler
-
C2Arbitrary PHP executes in web server context
-
ExecuteExfiltrate CRAFT_SECURITY_KEY and DB credentials
-
ImpactPivot to full application and database takeover
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 valid Craft CMS admin-level authentication to reach the FieldsController::actionRenderCardPreview() endpoint (the CVSS vector specifies PR:H, confirming high-privilege admin access is mandatory, not merely an authenticated low-privilege user). The vulnerable code path is present in default installations of Craft CMS 5.5.0 through 5.9.13 - no non-default configuration toggle is needed beyond the standard CMS being reachable over the network. Limiting factors: admin credentials are required (PR:H), and exploitation is bounded to deployments where the /admin control panel is network-reachable to the attacker, so installations behind VPN, IP allowlists, or SSO with MFA on the admin role materially reduce exposure. |
| Impact | The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H produces an 8.6 (High), reflecting network-reachable exploitation against the admin control panel with high impact across confidentiality, integrity, and availability - but the PR:H requirement (admin authentication) is the critical limiter. There is no EPSS score, KEV listing, or SSVC decision data provided, and no public exploit has been identified, though the VulnCheck advisory provides detailed technical specifics that materially lower the barrier to weaponization. Practical risk concentrates on Craft CMS deployments where admin credentials may be obtained via phishing, credential reuse, or chained with other flaws - once that prerequisite is met, exploitation is straightforward and yields the CRAFT_SECURITY_KEY, which enables further forgery attacks. This is a real priority for any organization running Craft CMS in the affected range, but not an emergency-patch-tonight scenario absent evidence of in-the-wild activity. |
| Exploit ScenarioDerived | An attacker who has obtained Craft CMS admin credentials (via phishing, credential stuffing, or a separately compromised account) logs into the control panel and sends a crafted POST request to the fields/render-card-preview endpoint with a fieldLayoutConfig payload containing an 'on init' Yii2 event handler that executes arbitrary PHP. The handler reads environment variables and returns the CRAFT_SECURITY_KEY and database credentials, granting the attacker full application takeover and the ability to forge signed tokens. The VulnCheck advisory provides technical detail sufficient for skilled attackers to reproduce, even though no weaponized PoC is publicly identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 22, 2026
Authenticated remote code execution in Craft CMS versions 5.5.0 through 5.9.13 allows admin users to execute arbitrary PHP by injecting Yii2 event handlers via the fieldLayoutConfig POST parameter to FieldsController::actionRenderCardPreview(). The flaw stems from missing Component::cleanseConfig() sanitization, enabling disclosure of environment variables including database credentials and CRAFT_SECURITY_KEY. No public exploit identified at time of analysis, though VulnCheck has published a detailed advisory describing the attack technique.
RemediationAI
Vendor-released patch: upgrade craftcms/cms to version 5.9.14 or later via composer (composer require craftcms/cms:^5.9.14), as documented in the vendor advisory at https://github.com/craftcms/cms/security/advisories/GHSA-86vw-x4ww-x467 and detailed by VulnCheck at https://www.vulncheck.com/advisories/craft-cms-remote-code-execution-via-missing-config-sanitization-in-fieldscontroller. As a temporary compensating control if immediate patching is not possible, restrict network access to the /admin control panel (specifically the fields/render-card-preview endpoint) via IP allowlisting at the web server or WAF tier - note this breaks legitimate remote admin access for users outside the allowlist. Additionally, rotate any admin credentials suspected of compromise and, post-upgrade, rotate the CRAFT_SECURITY_KEY and database credentials in case they were already exfiltrated, since the key drives cryptographic operations across the application.
Affected VersionsENISA
Affected Packages
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 built on the Yii2 framework (composer package craftcms/cms). Yii2 supports configuration-driven object instantiation where array keys prefixed with 'on' (e.g., 'on init') register event handlers that fire during object lifecycle events. The vulnerability is a classic CWE-94 Code Injection: the FieldsController::actionRenderCardPreview() method passes user-supplied fieldLayoutConfig POST data directly to Fields::createLayout() without first invoking Component::cleanseConfig(), which is Craft's documented sanitizer that strips dangerous keys like 'as' (behaviors) and 'on' (event handlers) from configuration arrays. The CPE cpe:2.3:a:craftcms:cms:*:*:*:*:*:*:*:* confirms the craftcms/cms product family is universally affected within the stated version range.
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:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable admin endpoint (AV:N/AC:L), requires admin authentication (PR:H), no user interaction, and arbitrary PHP execution yields full C/I/A impact within the application scope.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
Craft CMS (composer package craftcms/cms) versions >= 5.5.0 and <= 5.9.13 contain a remote code execution vulnerability in the FieldsController::actionRenderCardPreview() method, which passes the fieldLayoutConfig POST parameter directly to Fields::createLayout() without calling Component::cleanseConfig(). An authenticated admin user can inject Yii2 event handlers (e.g., 'on init' keys) via the fieldLayoutConfig parameter to execute arbitrary PHP code and disclose sensitive information (such as environment variables containing database credentials and CRAFT_SECURITY_KEY). The issue is fixed in version 5.9.14.
Executive ViewAI
A critical vulnerability in Craft CMS (versions 5.5.0-5.9.13) could allow authenticated administrators with malicious intent to extract sensitive database credentials and encryption keys, posing a direct threat to data security and system integrity. Organizations running affected versions should prioritize patching to prevent potential insider threats and credential compromise.
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
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.
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
Unauthenticated file disclosure in LavaLite CMS through 10.1.2 allows remote attackers to download private stored files
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.
EUVD-2026-38176
GHSA-pmm4-v8f6-4vpp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB