CVE-2026-112774
published high CVSS 4.0 · 8.7Craft CMS 5.8.0 before 5.11.0 Admin RCE via ContentBlock Field Layout
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| craftcms | — | cms5.8.0 to < 5.11.0 (affected · semver) · 5.11.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.2 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| craftcms | cms | 5.8.0 to < 5.11.0 (affected · semver)5.11.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
2- GitHub Security Advisory (GHSA-j6r9-fxgv-j7x5) https://github.com/craftcms/cms/security/advisories/GHSA-j6r9-fxgv-j7x5
- VulnCheck Advisory: Craft CMS 5.8.0 before 5.11.0 Admin RCE via ContentBlock Field Layout https://www.vulncheck.com/advisories/craft-cms-5.8.0-before-5.11.0-admin-rce-via-contentblock-field-layout
Provider assertions
2VulnCheck · cna
Craft CMS 5.8.0 before 5.11.0 Admin RCE via ContentBlock Field Layout
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 447b2908c7c3113b592724b8231feef3ffdf514b503f500609c0de7a4ae25ab9
- Ingested
- 20 Oct 2026, 14:49:51 UTC
- Source record
- Official CVE record