Skip to content

CVE-2026-112773 Craft CMS 5.0.0 before 5.11.0 RCE via Twig Sandbox Behavior Injection

HighCVSS 8.7 EPSS 0.71%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
craftcms cms >= 5.0.0, < 5.11.0 5.11.0 Fixed

Affected products

ProductAffected versionsFixed in
craftcms cms >= 5.0.0, < 5.11.0 5.11.0

References