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
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
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 9.3 Critical | 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 | VulnCheck |
| 3.1 | 8.4 High | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-693 Protection Mechanism Failure
Affected Products
| Product | Versions |
|---|---|
winterwintercms |
|
References
- GitHub Security Advisory (GHSA-8cfw-pcwh-v63w)vendor-advisory
- Patch Commitpatch
- VulnCheck Advisory: Winter CMS before 1.2.13 Twig Sandbox Escape via SecurityPolicythird-party-advisory
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.