Code Injection in Craft CMS - CVE-2026-112774

 

Code Injection in Craft CMS - CVE-2026-112774

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


Vulnerability identifier: #VU159589
CSH Severity: Low
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-112774
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an administrator to execute operating system commands as the web/PHP user in Craft CMS.

The vulnerability exists due to Content Block field-layout JSON strings being decoded after configuration sanitization, allowing attacker-controlled behavior configuration to bypass cleansing when allowAdminChanges is enabled. An administrator can submit a crafted field-layout configuration that attaches a malicious behavior during object creation and executes code on the server.


Affected software

Craft CMS

How to mitigate CVE-2026-112774

Install security update from vendor's website.

Craft CMS - update to 5.11.0

External References

Related Security Bulletins