Code Injection in Craft CMS - CVE-2026-112773

 

Code Injection in Craft CMS - CVE-2026-112773

Published: November 6, 2026 / Updated: November 7, 2026


Vulnerability identifier: #VU159588
CSH Severity: Medium
CVSS v4: 8.7 [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]
CVE-ID: CVE-2026-112773
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an authenticated attacker with Control Panel access to execute arbitrary code as the web user.

The vulnerability exists due to unvalidated element-query criteria accepting behavior configuration during Craft CMS Twig sandbox rendering when enableTwigSandbox is enabled, a non-default setting. An authenticated attacker with Control Panel access can submit crafted criteria through element-select condition rules to inject a behavior that executes code when the query runs.


Affected software

Craft CMS

How to mitigate CVE-2026-112773

Install security update from vendor's website.

Craft CMS - update to 5.11.0

External References

Related Security Bulletins