Skip to main content
Twig in the control panel: Craft's sandbox keeps getting escaped
craft cms

Twig in the control panel: Craft's sandbox keeps getting escaped

Craft added an opt-in Twig sandbox in 5.9, and all through 2026 it has kept producing authenticated-RCE advisories. A Drupal dev's notes on why letting editors run Twig is a privilege-escalation feature wherever you do it.

2026-10-13 / 05 min
Subscribe to Twig