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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| craftcms cms | >= 5.0.0, < 5.11.0 | 5.11.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| craftcms cms | >= 5.0.0, < 5.11.0 | 5.11.0 |
References
- GitHub Security Advisory (GHSA-wr79-9v6x-5rfq) vendor-advisory
- VulnCheck Advisory: Craft CMS 5.0.0 before 5.11.0 RCE via Twig Sandbox Behavior Injection third-party-advisory
- ENISA EUVD EUVD-2026-104579 third-party-advisory