CVE Catalog

CVE-2026-112774

HighCVSS 7.2
Published: Updated: Translated: NVD NIST

Summary

Craft CMS from 5.8.0 before 5.11.0 contains a remote code execution vulnerability. An authenticated administrator can inject Yii behaviors by supplying a JSON-string field layout to ContentBlock::setFieldLayout(), with 'as X' or 'on X' keys bypassing cleanseConfig().

Risk Assessment

An administrator (with allowAdminChanges enabled) can execute OS commands as the web user and disclose secrets. This poses a serious risk of server compromise.

Recommendation

Update Craft CMS to version 5.11.0 or later. Restrict administrative privileges and disable allowAdminChanges in production.

Other vulnerabilities in Craft CMS

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS