Craft CMS from 5.8.0 before 5.11.0 contains a remote code execution vulnerability that allows authenticated administrators to inject Yii behaviors by supplying a JSON-string field layout to ContentBl…
- CVSS
- 7.2High
- Chance of exploitation (EPSS)
- 0.64%
- Published
- Oct 19, 2026
- In the news
- Not yet
What to do
A serious code injection flaw in Craftcms CMS that can be attacked over the network by someone with an account. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Fixed in: 5.11.0
Affected versions
- Craftcms CMS
- 5.8.0 to before 5.11.0
Description
Craft CMS from 5.8.0 before 5.11.0 contains a remote code execution vulnerability that allows authenticated administrators to inject Yii behaviors by supplying a JSON-string field layout to ContentBlock::setFieldLayout(). Attackers with allowAdminChanges enabled can include 'as X' or 'on X' keys that bypass cleanseConfig() to execute OS commands as the web user and disclose secrets.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-112774 published (CVSS 7.2) (Oct 19, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Mon, Oct 19, 2026
- CVECVE-2026-112774 published (CVSS 7.2)CVE Program · 20:17 UTC
References 2
- github.com /craftcms/cms/security/advisories/GHSA-j6r9-fxgv-j7x5
- www.vulncheck.com /advisories/craft-cms-5.8.0-before-5.11.0-admin-rce-via-contentblock-field-layout