CVE-2026-112773

published 19 Oct 2026 · updated 19 Oct 2026

Craft CMS 5.0.0 before 5.11.0 RCE via Twig Sandbox Behavior Injection

8.8HighCVSS 8.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 5.11.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
craftcms>=5.0.0 <5.11.05.11.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-112773 severity on Zeptric[![CVE-2026-112773](https://zeptric.io/badge/cve/CVE-2026-112773.svg)](https://zeptric.io/cve/CVE-2026-112773)