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

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Published: 2026-10-19T19:10:51.883Z
- Modified: 2026-10-19T22:17:08.390Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- craftcms cms: from 5.0.0 before 5.11.0 (not affected: 5.11.0)

## Every score

- VulnCheck: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/craftcms/cms/security/advisories/GHSA-wr79-9v6x-5rfq> (vendor-advisory)
- <https://www.vulncheck.com/advisories/craft-cms-5.0.0-before-5.11.0-rce-via-twig-sandbox-behavior-injection> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-112773](https://www.cve.org/CVERecord?id=CVE-2026-112773), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-112773](https://nvd.nist.gov/vuln/detail/CVE-2026-112773), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-112773 · Whole record: https://cve.day/CVE-2026-112773.json · Rebuilt by cve.day 2026-11-25T22:59:45.927Z
