Description
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.
Published: 2026-08-27
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution by Authenticated Users
Action: Immediate Patch
AI Analysis

Impact

The vulnerability resides in Craft CMS’s Twig sandbox, which is configured to allow dangerous functionality from the Yii framework. This misconfiguration permits an attacker with authenticated access to craft arbitrary code execution. The weakness aligns with CWE-693, indicating an insecure implementation that defers the responsibility of ensuring proper restriction of sensitive operations. The resultant impact is the ability to run system‑level commands, exfiltrate data, or undermine the entire CMS installation.

Affected Systems

Based on the reference to a release tag 5.10.7, it is inferred that the vulnerability existed in versions prior to that update. The affected product is Craft CMS. Administrators should verify the version of Craft CMS in use and assess whether it predates 5.10.7, as that release appears to provide remediation for this issue.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity, and the EPSS is not available, so the exploitation probability cannot be quantified. The vulnerability is not cataloged in the CISA KEV list. Based on the description, it is inferred that the attack vector requires authenticated access to the CMS, implying that privileged or editor‑level users can exploit the flaw. Consequently, the risk is that an attacker who can log in to the CMS may exploit the sandbox to execute arbitrary code.

Generated by OpenCVE AI on August 27, 2026 at 18:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Craft CMS to version 5.10.7 or later to receive the vendor patch that corrects the sandbox configuration.
  • Until the upgrade can be performed, restrict or remove access for roles that can trigger Twig template rendering, effectively blocking the possibility of executing Yii framework functions.
  • Verify the CMS configuration to ensure that the Twig sandbox disallows dangerous functions and monitor the application logs for any execution of unwanted templates.

Generated by OpenCVE AI on August 27, 2026 at 18:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 27 Aug 2026 16:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Authenticated RCE through Twig sandbox escape
First Time appeared Craftcms
Craftcms cms
Weaknesses CWE-693
CPEs cpe:2.3:a:craftcms:cms:*:*:*:*:*:*:*:*
Vendors & Products Craftcms
Craftcms cms
References
Metrics cvssV4_0

{'score': 8.7, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: Hackrate

Published:

Updated: 2026-08-28T16:51:38.368Z

Reserved: 2026-08-25T16:39:03.171Z

Link: CVE-2026-79988

cve-icon Vulnrichment

Updated: 2026-08-27T19:30:11.955Z

cve-icon NVD

Status : Deferred

Published: 2026-08-27T17:20:49.540

Modified: 2026-08-28T20:20:08.133

Link: CVE-2026-79988

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-27T19:00:06Z

Weaknesses
  • CWE-693

    Protection Mechanism Failure