Skip to main content
← All vulnerabilities
CVE-2026-112773GHSA-WR79-9V6X-5RFQ

Craft CMS 5.0.0 before 5.11.0 RCE via Twig Sandbox Behavior Injection

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.11.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • craftcms cms

    From 5.0.0 · fixed in 5.11.0

References 2

GitHub · craftcms/cms

vulncheck.com