Skip to content

CVE-2026-112774 Craft CMS 5.8.0 before 5.11.0 Admin RCE via ContentBlock Field Layout

HighCVSS 8.7 EPSS 0.64%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
craftcms cms >= 5.8.0, < 5.11.0 5.11.0 Fixed

Affected products

ProductAffected versionsFixed in
craftcms cms >= 5.8.0, < 5.11.0 5.11.0

References