CVE-2026-79774

Winter CMS before 1.2.13 Twig Sandbox Escape via SecurityPolicy

Published Aug 25, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
Description
Winter CMS versions before 1.2.13 contain an incomplete fix for a Twig sandbox escape vulnerability in System\\Twig\\SecurityPolicy that allows authenticated backend users with template-editing permissions to bypass sandbox restrictions. Attackers can exploit method forwarding through Eloquent models and query builders using methods like saveQuietly(), deleteQuietly(), increment(), decrement(), and newQuery() to read and modify arbitrary database records, execute arbitrary SQL, and achieve remote code execution by injecting PHP into template code sections.

Analysis

AI-generated

Technical impact

Winter CMS versions before 1.2.13 contain an incomplete patch that leaves a Twig sandbox escape flaw in System\\Twig\\SecurityPolicy. The flaw allows authenticated backend users who have permission to edit templates to bypass the sandbox rules that normally prevent arbitrary PHP execution. Attackers can forward calls through Eloquent models and query builders to invoke methods such as saveQuietly(), deleteQuietly(), increment(), decrement(), and newQuery(), enabling them to read and alter any database table, execute arbitrary SQL statements, and inject PHP code into the template rendering process. This results in loss of confidentiality, integrity, and availability of the application as attackers gain remote code execution capabilities.

Affected Systems

All Winter CMS installations that are running any release older than 1.2.13 are susceptible. The affected vendor product is Winter CMS by wintercms. No patch version is listed in the input, but updates beyond 1.2.13 resolve the issue.

Risk and Exploitability

The vulnerability carries a CVSS score of 9.3, indicating a critical severity. Although the EPSS score is not provided, the lack of a public exploit and the requirement for authenticated template‑editing privileges suggest a moderate to high likelihood of exploitation in environments where backend access is not tightly controlled. The vulnerability is not listed in the CISA KEV catalog, yet the potential for remote code execution makes it a priority for immediate remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Winter CMS to version 1.2.13 or newer to apply the proper sandbox fix
  • Restrict template‑editing rights so that only trusted administrators can modify templates
  • Disable or tightly control Eloquent model forwarding methods such as newQuery(), saveQuietly(), deleteQuietly(), increment(), and decrement() in the application configuration

Generated by OpenCVE AI on August 25, 2026 at 16:59 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 Winter CMS versions before 1.2.13 contain an incomplete fix for a Twig sandbox escape vulnerability in System\\Twig\\SecurityPolicy that allows authenticated backend users with template-editing permissions to bypass sandbox restrictions. Attackers can exploit method forwarding through Eloquent models and query builders using methods like saveQuietly(), deleteQuietly(), increment(), decrement(), and newQuery() to read and modify arbitrary database records, execute arbitrary SQL, and achieve remote code execution by injecting PHP into template code sections.
Title Winter CMS before 1.2.13 Twig Sandbox Escape via SecurityPolicy
First Time appeared Wintercms
Wintercms winter
Weaknesses CWE-693
CPEs cpe:2.3:a:wintercms:winter:*:*:*:*:*:*:*:*
Vendors & Products Wintercms
Wintercms winter
References
Metrics cvssV3_1

{'score': 8.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}

Weaknesses
  • CWE-693

    Protection Mechanism Failure

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 8, 2026, 3:25 PM
Reserved
Aug 25, 2026, 2:29 PM
Status
Deferred
Published
Aug 25, 2026, 4:17 PM
Modified
Oct 8, 2026, 4:17 PM