CVE-2026-112774

High

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.

SeverityHigh
CVSS7.2
Exploit probability—
ProductCms
PublishedOct 19, 2026
First seenOct 19, 2026

How to fix

Update
  • craftcms cms5.11.0 or later

Affected products

ProductAffected versionsFixed in
craftcms cms5.8.0 ≤ v < 5.11.05.11.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.