Skip to content
OpenAdvisories
High · 8.8 CVE-2026-112773 EUVD-2026-104579GHSA-8vpq-j4mg-h24p

Craft CMS 5.0.0 before 5.11.0 RCE via Twig Sandbox Behavior Injection

Published Oct 19, 2026 · Updated Oct 19, 2026 · Assigned by VulnCheck

Description

Craft CMS from 5.0.0 before 5.11.0 contains a remote code execution vulnerability that allows authenticated Control Panel users to escape the Twig sandbox by passing uncleansed criteria to getNext, getPrev, or getOwners. Attackers can inject Yii "as" or "on" config keys to attach malicious event handlers that execute when the element query runs, achieving code execution as the web user.

Affected products

VendorProductAffectedFixed
craftcms cms 5.0.0 – < 5.11.0 5.11.0

References