{"id":"CVE-2026-112774","summary":"Craft CMS 5.8.0 before 5.11.0 Admin RCE via ContentBlock Field Layout","details":"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.","aliases":["GHSA-j6r9-fxgv-j7x5"],"modified":"2026-10-20T11:16:56.700281806Z","published":"2026-10-19T19:10:52.576Z","database_specific":{"cwe_ids":["CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112774.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112774.json"},{"type":"ADVISORY","url":"https://github.com/craftcms/cms/security/advisories/GHSA-j6r9-fxgv-j7x5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112774"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/craft-cms-5.8.0-before-5.11.0-admin-rce-via-contentblock-field-layout"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/craftcms/cms","events":[{"introduced":"54634dee804c93d3dcd43a9061f64f5308bebf0f"},{"fixed":"2255717bfd5cc502751601aa68bf72eea035cd47"}],"database_specific":{"extracted_events":[{"introduced":"5.8.0"},{"fixed":"5.11.0"}],"source":"AFFECTED_FIELD"}}],"versions":["5.10.14","5.10.13.2","5.10.13.1","5.10.13","5.10.12","5.10.11","5.10.10","5.10.9","5.10.8.1","5.10.8","5.10.7","5.10.6","5.10.5","5.10.4.1","5.10.4","5.10.3","5.10.2","5.10.1","5.10.0","5.9.23","5.9.22","5.9.21","5.9.20","5.9.19","5.9.18","5.9.17","5.9.16","5.9.15","5.9.14","5.9.13","5.9.3","5.9.12","5.9.11","5.9.10","5.9.9","5.9.8","5.9.7","5.9.6","5.9.5","5.9.4","5.9.2","5.9.1","5.9.0","5.9.0-beta.2","5.9.0-beta.1","5.8.23","5.8.22","5.8.21","5.8.20","5.8.19","5.8.18","5.8.17","5.8.16","5.8.15","5.8.14","5.8.13.2","5.8.13.1","5.8.13","5.8.12","5.8.11","5.8.10","5.8.9","5.8.8","5.8.7","5.8.6","5.8.5","5.8.4","5.8.3","5.8.2","5.8.1","5.8.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-112774.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}