CVE-2026-112773GHSA-wr79-9v6x-5rfq
Craft CMS 5.0.0 before 5.11.0 RCE via Twig Sandbox Behavior Injection
craftcms cms
CVSS
8.7HighExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.71%Chance of exploitation activity in the next 30 days, higher than 53% of CVEs. Scored 23 Oct 2026FIRST EPSS
What fixes it
- 5.11.0cmsCVE List
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
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.
Text from CVE List
Affected versions 2
- cmsaffected: 5.0.0 before 5.11.0CVE List
- cmsunaffected: 5.11.0CVE List