Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege Craft CMS credentials
-
DeliveryAccess Twig template rendering surface
-
ExploitSubmit payload invoking dangerous Yii framework method
-
ExecutionTwig sandbox fails to block restricted call
-
ImpactArbitrary code executes with web server privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Protection mechanism completeness
|
| Exploitation Conditions | Exploitation requires a valid authenticated Craft CMS user account with permissions to author or render Twig templates - for example, a content editor, developer, or contributor role assigned by an administrator. The attacker must have access to a Twig template rendering surface such as a template editor, custom field that evaluates Twig, or equivalent control panel feature. Unauthenticated exploitation is not possible based on PR:L in the CVSS vector. Non-default role configurations that grant Twig template access to untrusted users increase exposure. Exploitation is limited by: requirement for a valid low-privilege authenticated session, access to a Twig rendering context, and the installation running a version prior to 5.10.7. Default installations where non-admin users have template editing rights are fully exploitable without additional prerequisites. |
| Impact | The CVSS 4.0 base score of 8.7 accurately reflects the severity profile: network-accessible, low complexity, no user interaction required, and full impact across confidentiality, integrity, and availability. The most meaningful limiting factor is PR:L - exploitation requires a valid authenticated session, meaning unauthenticated mass exploitation is not possible. However, in typical Craft CMS deployments, content editor and contributor roles are relatively common, meaning the threshold for achieving exploitation is not high for a motivated attacker with social engineering capability or compromised credentials. EPSS data was not provided in the available intelligence, which limits probabilistic exploitation forecasting. No CISA KEV listing is present, and no confirmed public exploit code exists - only a Hackrate hacktivity report of unverified public accessibility. That said, this vulnerability is explicitly described as similar to prior Craft CMS Twig sandbox escapes, meaning actors familiar with the codebase may reconstruct a working exploit with low effort. The absence of KEV and confirmed POC moderately tempers urgency, but the low post-authentication exploitation complexity means patching should not be deferred. |
| Exploit ScenarioDerived | An attacker with a low-privilege Craft CMS account - such as a content editor or contributor - accesses a Twig template rendering surface (e.g., a custom template field or the control panel's template editor) and submits a crafted payload that invokes a dangerous Yii framework method exposed by the misconfigured sandbox. The Twig sandbox fails to block the call, and the server executes arbitrary OS commands with web process privileges. No confirmed public exploit code exists at time of analysis, but the attack pattern mirrors prior Craft CMS Twig sandbox escapes, reducing the development effort for a knowledgeable attacker. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 27, 2026
Remote code execution in Craft CMS allows authenticated users with Twig template access to escape the sandbox via permissive Yii framework functionality, achieving full confidentiality, integrity, and availability compromise on the host system. The root cause is CWE-693 (Protection Mechanism Failure): the Twig sandbox policy was configured to permit dangerous Yii framework methods capable of executing arbitrary code, rather than enforcing a tight allowlist. The vendor confirmed and patched this as a high-severity RCE in release 5.10.7; no public exploit code has been confirmed at time of analysis, though a Hackrate hacktivity report exists referencing the issue.
RemediationAI
The primary remediation is to upgrade Craft CMS to version 5.10.7 or later, which introduces craft\web\twig\AllowableInSandbox to enforce a restrictive Twig sandbox policy that excludes dangerous Yii framework functionality. Release notes and upgrade instructions are available at https://github.com/craftcms/cms/releases/tag/5.10.7. If immediate upgrade is not feasible, administrators should audit and restrict which user roles are permitted to author or render Twig templates, limiting this capability to fully trusted administrative accounts only - this reduces the attack surface but does not eliminate the underlying vulnerability. No additional vendor-confirmed workarounds have been identified from available data. Organizations running Craft CMS 4.x or earlier should monitor vendor channels for potential backport advisories, as the current patch reference covers only the 5.x branch.
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 (CPE: cpe:2.3:a:craftcms:cms:*:*:*:*:*:*:*:*) is a PHP-based content management system built on the Yii framework that uses Twig as its templating engine. Craft operates a Twig sandbox to constrain what template authors can execute server-side. CWE-693 (Protection Mechanism Failure) captures this flaw class precisely: a protective mechanism is present but insufficiently enforced. In this instance, the sandbox allowlist permitted access to dangerous Yii framework methods - such as those capable of invoking system-level operations or loading arbitrary PHP classes - rather than restricting Twig to safe, content-focused operations. The vendor fix in 5.10.7 introduced the new class craft\web\twig\AllowableInSandbox, which tightens the sandbox allowlist to exclude the dangerous Yii-derived functionality. This vulnerability is described as similar to previously disclosed RCE flaws in Craft CMS, suggesting the sandbox escape pattern is not novel to this codebase.
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 sandbox escape requiring only a low-privilege authenticated account; no scope change as impact is contained to the vulnerable Craft CMS system.
Primary rating from Vendor (Hackrate).
CVSS VectorVendor: Hackrate
Lifecycle Timeline
2DescriptionCVE.org
The Twig sandbox mechanism in Craft CMS is configured to allow dangerous functionality from the Yii framework, leading to authenticated RCE similar to previously disclosed vulnerabilities.
Executive ViewAI
Craft CMS versions prior to 5.10.7 contain a vulnerability enabling authenticated users with Twig template editing permissions to gain complete administrative control of hosting infrastructure. Organizations face infrastructure compromise and data breach risk through compromised template editor accounts or insider threats. Immediate patching and access control review are critical.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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
Authenticated remote code execution in Craft CMS versions 5.5.0 through 5.9.13 allows admin users to execute arbitrary P
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.
EUVD-2026-67081
GHSA-9fvq-jx89-q558
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB