CVE-2026-79774

Winter CMS before 1.2.13 Twig Sandbox Escape via SecurityPolicy

State
Published
Severity
9.3 Critical
Published
Aug 25, 2026
Updated
Oct 8, 2026
Reserved
Aug 25, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.09.3 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HVulnCheck
3.18.4 HighCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:HVulnCheck

Weaknesses

  • CWE-693 Protection Mechanism Failure

Affected Products

ProductVersions
winterwintercms
  • 1.2.7 to before 1.2.13Affected
  • 1.2.13Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.