Skip to main content

Craft CMS EUVDEUVD-2026-56105

| CVE-2026-72781 HIGH
Protection Mechanism Failure (CWE-693)
8.7
CVSS 4.0 · Vendor: VulnCheck
Share

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
8.8 HIGH

AV:N for network-accessible control panel; PR:L requires authenticated session with template-edit rights; S:U as impact is contained to the application host with no downstream system compromise.

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
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

4
Patch available
Aug 11, 2026 - 13:17 EUVD
Source Code Evidence Fetched
Aug 11, 2026 - 13:08 vuln.today
Analysis Generated
Aug 11, 2026 - 13:08 vuln.today
CVE Published
Aug 11, 2026 - 12:17 cve.org
HIGH 8.7

DescriptionCVE.org

Craft CMS versions >= 5.0.0-RC1 before 5.10.7 and >= 4.0.0-RC1 before 4.18.3 contain a remote code execution vulnerability in the Twig sandbox mechanism. Because Craft marks the ElementInterface as safe (via the AllowedInSandbox attribute) and the sandbox allowlisting extends to the entire class hierarchy (craft\base\Component up to yii\base\Component), an authenticated attacker with permission to access the control panel can render a malicious Twig template that abuses the yii\base\Component arbitrary function-call gadget to execute arbitrary code, even when the Twig sandbox is enabled via enableTwigSandbox().

AnalysisAI

Remote code execution in Craft CMS allows an authenticated control panel user to escape the Twig sandbox and execute arbitrary server-side PHP, even when sandbox mode is explicitly enabled via enableTwigSandbox(). The root cause is that the sandbox's class allowlisting propagates through the entire class hierarchy of ElementInterface, ultimately exposing the well-known yii\base\Component arbitrary function-call gadget - the identical primitive behind at least four prior Craft CMS CVEs. Affected versions are 5.0.0-RC1 through 5.10.6 and 4.0.0-RC1 through 4.18.2; patched releases 5.10.7 and 4.18.3 are available, and no CISA KEV listing exists at time of analysis.

Technical ContextAI

Craft CMS implements Twig's sandbox via a SecurityPolicy class fulfilling SecurityPolicyInterface. The policy's checkMethodAllowed and checkPropertyAllowed methods consult both a configured allowlist and the AllowedInSandbox attribute. The critical design flaw (CWE-693: Protection Mechanism Failure) is that when a class is allowlisted, all methods and properties across its entire inheritance hierarchy are implicitly permitted - not just those defined on the named class itself. Craft marks ElementInterface as safe via AllowedInSandbox; the concrete Element class implementing that interface is the base for core model types such as Entry, User, and Asset. Element extends craft\base\Component, which inherits from yii\base\Component in the Yii2 framework. yii\base\Component exposes an arbitrary PHP function-call gadget documented in GHSA-255j-qw47-wjh5, GHSA-2fph-6v5w-89hh, GHSA-7jx7-3846-m7w7, and GHSA-qrgm-p9w5-rrfw. Because the allowlist extends to subclasses and inherited methods, that gadget is reachable from any sandboxed template that holds a reference to an Element-derived object. Affected CPE: cpe:2.3:a:craftcms:cms for both the 4.x and 5.x lines.

RemediationAI

Upgrade Craft CMS to version 5.10.7 (5.x branch) or 4.18.3 (4.x branch) via Composer: composer require craftcms/cms:^5.10.7 or composer require craftcms/cms:^4.18.3. The upstream patch commit is https://github.com/craftcms/cms/commit/0b8be1556be4e030578ec779c3e17ffe2e69d7db and the vendor advisory is at https://github.com/craftcms/cms/security/advisories/GHSA-f5wm-88jv-g5hx. If immediate patching is not feasible, audit and restrict control panel user roles to remove template-editing permissions from any account that does not strictly require them - this directly eliminates the attack surface. Restricting control panel access to trusted internal networks or VPN is an additional compensating control but does not eliminate the vulnerability if compromised credentials are used. Critically, do NOT treat enableTwigSandbox() as a mitigation: this vulnerability explicitly bypasses the sandbox, so operators who enabled it believing it provided isolation for multi-tenant template authoring must treat this as a high-priority patch.

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

CVE-2025-5428 MEDIUM POC
6.3 Jun 02

A security vulnerability in juzaweb CMS (CVSS 6.3). Risk factors: public PoC available.

CVE-2025-5427 MEDIUM POC
6.3 Jun 02

A security vulnerability in juzaweb CMS (CVSS 6.3). Risk factors: public PoC available.

Share

EUVD-2026-56105 vulnerability details – vuln.today

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