# CVE-2026-112774: Craft CMS 5.8.0 before 5.11.0 Admin RCE via ContentBlock Field Layout

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 51% of CVEs (2026-12-01)
- Published: 2026-10-19T19:10:52.576Z
- Modified: 2026-10-20T15:17:14.397Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- craftcms cms: from 5.8.0 before 5.11.0 (not affected: 5.11.0)

## Every score

- VulnCheck: CVSS: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: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/craftcms/cms/security/advisories/GHSA-j6r9-fxgv-j7x5> (vendor-advisory)
- <https://www.vulncheck.com/advisories/craft-cms-5.8.0-before-5.11.0-admin-rce-via-contentblock-field-layout> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-112774](https://www.cve.org/CVERecord?id=CVE-2026-112774), CVE Terms of Use, modified 2026-10-20
- NVD: [CVE-2026-112774](https://nvd.nist.gov/vuln/detail/CVE-2026-112774), Public domain, modified 2026-10-20

---

Page: https://cve.day/CVE-2026-112774 · Whole record: https://cve.day/CVE-2026-112774.json · Rebuilt by cve.day 2026-11-25T22:59:45.928Z
