Skip to content
OpenAdvisories
High · 8.4 CVE-2026-79774 EUVD-2026-65532GHSA-8cfw-pcwh-v63wGHSA-gw97-553p-fp3j

Winter CMS before 1.2.13 Twig Sandbox Escape via SecurityPolicy

Published Aug 25, 2026 · Updated Oct 8, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
wintercms winter 1.2.7 – < 1.2.13 1.2.13

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist winter/wn-system-module >= 1.2.7, < 1.2.13 1.2.13 GHSA-8cfw-pcwh-v63w

References