{"id":"CVE-2026-112774","published":"2026-10-19T19:10:52Z","modified":"2026-10-20T14:36:01Z","title":"Craft CMS 5.8.0 before 5.11.0 Admin RCE via ContentBlock Field Layout","vendor":"Craft CMS","product":"cms","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00638,"percentile":0.51505,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-j6r9-fxgv-j7x5","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/craft-cms-5.8.0-before-5.11.0-admin-rce-via-contentblock-field-layout","tags":["third-party-advisory"]}],"priority":{"score":15.3,"factors":[{"name":"EPSS percentile","points":10.3},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"craft-cms","affectedVersions":[{"vendor":"craftcms","product":"cms","versions":[">= 5.8.0, < 5.11.0"]}],"fixedVersions":[{"vendor":"craftcms","product":"cms","versions":["5.11.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-20T14:35:10.928056Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-104580","exploited":false,"provenance":"source"}}