CVE-2026-112774

published 19 Oct 2026 · updated 20 Oct 2026

Craft CMS 5.8.0 before 5.11.0 Admin RCE via ContentBlock Field Layout

7.2HighCVSS 7.2EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 5.11.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
craftcms>=5.8.0 <5.11.05.11.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-112774 severity on Zeptric[![CVE-2026-112774](https://zeptric.io/badge/cve/CVE-2026-112774.svg)](https://zeptric.io/cve/CVE-2026-112774)