Skip to content

CVE-2026-79774 Winter CMS before 1.2.13 Twig Sandbox Escape via SecurityPolicy

CriticalCVSS 9.3 EPSS 0.81%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
PHP

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
winter/wn-system-module >= 1.2.7, < 1.2.13 1.2.13 Fixed
winter/wn-system-module(Packagist) = v1.2.7; = v1.2.8; = v1.2.9; = v1.2.10 +3 more 1.2.13 Fixed

Affected products

ProductAffected versionsFixed in
winter/wn-system-module(Packagist) >= 1.2.7, < 1.2.13 1.2.13
winter/wn-system-module(Packagist) = v1.2.10 No fix listed
winter/wn-system-module(Packagist) = v1.2.11 No fix listed
winter/wn-system-module(Packagist) = v1.2.12 No fix listed
winter/wn-system-module(Packagist) = v1.2.7 No fix listed
winter/wn-system-module(Packagist) = v1.2.8 No fix listed
winter/wn-system-module(Packagist) = v1.2.9 No fix listed
winter/wn-system-module >= 1.2.7, < 1.2.13 1.2.13

References