CVE-2026-79774: Winter CMS before 1.2.13 Twig Sandbox Escape via SecurityPolicy

Published Aug 25, 2026
·
Updated

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.

Affected Software

1 affected component
Winter CMS Winter CMS<1.2.13

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Winter CMS to a version that resolves this vulnerability.

    Fixed in 1.2.13
  2. Compensating control

    Restrict access to backend users who have template-editing permissions, since the Twig sandbox escape in System\Twig\SecurityPolicy affects authenticated backend users with template-editing rights.

Event History

Aug 25, 2026
CVE Published
via MITRE·03:16 PM
Data Sourced
via MITRE·03:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness
Apr 30, 58619
Event
via NVD·02:08 AM

Frequently Asked Questions

1

Which users could exploit this issue?

An attacker must be an authenticated Winter CMS backend user with permission to edit templates. The available information does not indicate that unauthenticated users can exploit it.

2

Which installations should be considered vulnerable?

Winter CMS installations running versions before 1.2.13 should be considered affected. The issue is reachable where a backend user has template-editing permissions.

3

What level of impact could successful exploitation have?

A successful attacker can bypass Twig sandbox restrictions to read and modify arbitrary database records and execute arbitrary SQL. Injecting PHP into template code sections can lead to remote code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203