Skip to main content
← All vulnerabilities
CVE-2026-79774GHSA-8CFW-PCWH-V63W

Winter CMS before 1.2.13 Twig Sandbox Escape via SecurityPolicy

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.2.13
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • wintercms winter

    From 1.2.7 · fixed in 1.2.13

  • winter/wn-system-modulePackagist

    From 1.2.7 · fixed in 1.2.13

References 3

GitHub · wintercms/winter

vulncheck.com