{"id":"CVE-2026-112774","title":"Craft CMS 5.8.0 before 5.11.0 Admin RCE via ContentBlock Field Layout","summary":"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 …","severity":"high","cvss":7.2,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","cvssSource":"cna","cwe":["CWE-94"],"vendor":"craftcms","product":"cms","affected":["cms >= 5.8.0 < 5.11.0"],"published":"2026-10-19","updated":"2026-10-19","sourceUpdated":"2026-10-19T19:10:52.576Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-112774","references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-j6r9-fxgv-j7x5","label":"GitHub Security Advisory (GHSA-j6r9-fxgv-j7x5)"},{"url":"https://www.vulncheck.com/advisories/craft-cms-5.8.0-before-5.11.0-admin-rce-via-contentblock-field-layout","label":"VulnCheck Advisory: Craft CMS 5.8.0 before 5.11.0 Admin RCE via ContentBlock Field Layout"}],"tags":["cve.org"],"ingestedAt":"2026-10-19T19:38:06.463Z","slug":"CVE-2026-112774","body":"## Overview\n\nCraft 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.\n\n## Affected\n\n- `cms >= 5.8.0 < 5.11.0`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":40,"depthScoreParts":{"impact":39.6,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}