CVE-2026-79774
Winter CMS versions before 1.2.13 contain an incomplete fix for a …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/wintercms/winter/commit/725bbcda232466f7f71381c271c6916573d576e6
- github.com/wintercms/winter/security/advisories/GHSA-8cfw-pcwh-v63w
- www.vulncheck.com/advisories/winter-cms-before-twig-sandbox-escape-via-securitypolicy
- nvd.nist.gov/vuln/detail/CVE-2026-79774
- cve.org/CVERecord?id=CVE-2026-79774
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.