← Back to CVE search

CVE-2026-79774

Winter CMS

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.

CVSS 8.4EPSS 0.43%Risk 0.87
View source
Published
2026-08-25 16:17:29
Affected versions
<1.2.13
Type
Web application
Last modified
2026-08-26 17:17:23
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H