Skip to content
CVE PROGRAM SOURCE RECORD9.3 Critical

CVE-2026-79774

Winter CMS before 1.2.13 Twig Sandbox Escape via SecurityPolicy

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

wintercms winter

Default version status: unaffected

  • 1.2.7 to < 1.2.13affected
  • 1.2.13unaffected
pkg:composer/winter/wn-system-module

References