What’s Vulnerable › Vulnerabilities
CVE-2026-79774: Winter CMS before 1.2.13 Twig Sandbox Escape via SecurityPolicy
- Severity: high (CVSS 8.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-25 · updated 2026-10-08
- Weakness: CWE-693
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.
Affected products
- wintercms winter: from 1.2.7 before 1.2.13 — fixed in 1.2.13
How to fix
Upgrade to a fixed version: wintercms winter 1.2.13. Check the vendor advisory for mitigations.
References
- https://github.com/wintercms/winter/commit/725bbcda232466f7f71381c271c6916573d576e6
- https://github.com/wintercms/winter/security/advisories/GHSA-8cfw-pcwh-v63w
- https://www.vulncheck.com/advisories/winter-cms-before-twig-sandbox-escape-via-securitypolicy
Get alerted when CVE-2026-79774 or the next vulnerability affects your stack