CVE-2026-112774
JSON

8.7high

Craft CMS 5.8.0 before 5.11.0 Admin RCE via ContentBlock Field Layout

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.64% (higher than 51% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
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.

Affected

Product or packageVersionsReported by
craftcms cmsfrom 5.8.0 before 5.11.0
Not affected: 5.11.0
CVE List

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-112774 changed 2026-10-20CVE Terms of Use
NVDCVE-2026-112774 changed 2026-10-20Public domain