CVE-2026-112774
Craft CMS 5.8.0 before 5.11.0 Admin RCE via ContentBlock Field Layout
- State
- Published
- Severity
- 8.7 High
- Published
- Oct 19, 2026
- Updated
- Oct 20, 2026
- Reserved
- Oct 19, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.7 High | 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 | VulnCheck |
| 3.1 | 7.2 High | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-94 Improper Control of Generation of Code ('Code Injection')
Affected Products
| Product | Versions |
|---|---|
cmscraftcms |
|
References
- GitHub Security Advisory (GHSA-j6r9-fxgv-j7x5)vendor-advisory
- VulnCheck Advisory: Craft CMS 5.8.0 before 5.11.0 Admin RCE via ContentBlock Field Layoutthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.