All vulnerabilities
CVE-2026-112774GHSA-j6r9-fxgv-j7x5

Craft CMS 5.8.0 before 5.11.0 Admin RCE via ContentBlock Field Layout

craftcms cms
CVSS
8.7High
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.51%Chance of exploitation activity in the next 30 days, higher than 42% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in5.11.0Fixed versionCVE List
Published19 Oct 2026Updated 20 Oct 2026CVE List

What fixes it

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

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.

Text from CVE List

Affected versions 2

  • cmsaffected: 5.8.0 before 5.11.0CVE List
  • cmsunaffected: 5.11.0CVE List

References 2