CVE-2026-112773
JSON

8.7high

Craft CMS 5.0.0 before 5.11.0 RCE via Twig Sandbox Behavior Injection

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.71% (higher than 54% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
craftcms cmsfrom 5.0.0 before 5.11.0
Not affected: 5.11.0
CVE List

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-112773 changed 2026-10-19CVE Terms of Use
NVDCVE-2026-112773 changed 2026-10-19Public domain