Skip to main content

Craft CMS CVE-2026-79988

| EUVDEUVD-2026-67081 HIGH
Protection Mechanism Failure (CWE-693)
2026-08-27 Hackrate GHSA-9fvq-jx89-q558
8.7
CVSS 4.0 · Vendor: Hackrate
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-privilege Craft CMS credentials
  2. Delivery
    Access Twig template rendering surface
  3. Exploit
    Submit payload invoking dangerous Yii framework method
  4. Execution
    Twig sandbox fails to block restricted call
  5. Impact
    Arbitrary 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.

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

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

Alert me

AnalysisAIv1 – 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

CMS 4.0.0-RC1 <4.18.3
CMS 5.0.0-RC1 <5.10.7

Affected Packages

euvd cms fix: 4.18.3, 5.10.7

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

Vendor (Hackrate) 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 sandbox escape requiring only a low-privilege authenticated account; no scope change as impact is contained to the vulnerable Craft CMS system.

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 (Hackrate).

CVSS VectorVendor: Hackrate

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 27, 2026 - 18:02 EUVD
CVE Published
Aug 27, 2026 - 15:36 cve.org
HIGH 8.7

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Medium
popular CMS among design agencies and enterprise marketing teams
Data Quality
6 sources
Confidence: High

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

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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