CVE-2026-79774 PUBLISHED

Winter CMS before 1.2.13 Twig Sandbox Escape via SecurityPolicy

Assigner: VulnCheck
Reserved: 25.08.2026 Published: 25.08.2026 Updated: 25.08.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
CVSS Score: 9.3

Product Status

Vendor wintercms
Product winter
Versions Default: unaffected
  • affected from 1.2.7 to 1.2.13 (excl.)
  • Version 1.2.13 is unaffected

Credits

  • M9nx reporter

References

Problem Types

  • Protection Mechanism Failure CWE