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.
Published: 2026-08-25
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Patch Now
AI Analysis

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.

Generated by OpenCVE AI on August 25, 2026 at 16:59 UTC.

Remediation

No vendor fix or workaround currently provided.

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

History

Thu, 27 Aug 2026 06:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 25 Aug 2026 15:30:00 +0000

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


Subscriptions

Wintercms Winter
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-26T16:11:03.275Z

Reserved: 2026-08-25T14:29:43.528Z

Link: CVE-2026-79774

cve-icon Vulnrichment

Updated: 2026-08-26T15:57:19.476Z

cve-icon NVD

Status : Deferred

Published: 2026-08-25T16:17:29.060

Modified: 2026-08-31T20:38:54.340

Link: CVE-2026-79774

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-25T17:00:04Z

Weaknesses
  • CWE-693

    Protection Mechanism Failure