What’s Vulnerable › Vulnerabilities
CVE-2026-112774: Craft CMS 5.8.0 before 5.11.0 Admin RCE via ContentBlock Field Layout
- Severity: high (CVSS 7.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-19 · updated 2026-10-20
- Weakness: CWE-94
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
- craftcms cms: from 5.8.0 before 5.11.0 — fixed in 5.11.0
How to fix
Upgrade to a fixed version: craftcms cms 5.11.0. Check the vendor advisory for mitigations.
References
- https://github.com/craftcms/cms/security/advisories/GHSA-j6r9-fxgv-j7x5
- https://www.vulncheck.com/advisories/craft-cms-5.8.0-before-5.11.0-admin-rce-via-contentblock-field-layout
Get alerted when CVE-2026-112774 or the next vulnerability affects your stack