CVE-2026-79988

Authenticated RCE through Twig sandbox escape

Published Aug 27, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-693

    Protection Mechanism Failure

Sources

Status
PUBLISHED
Assigner
Hackrate
Published
Updated
Aug 28, 2026, 4:51 PM
Reserved
Aug 25, 2026, 4:39 PM
Status
Deferred
Published
Aug 27, 2026, 5:20 PM
Modified
Aug 28, 2026, 8:20 PM