CVE-2026-112774

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.
Configurations

No configuration.

History

19 Oct 2026, 20:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-19 20:17

Updated : 2026-10-20 15:17


NVD link : CVE-2026-112774

Mitre link : CVE-2026-112774

CVE.ORG link : CVE-2026-112774


JSON object : View

Products Affected

No product.

CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')