p PatchFirst

CVE-2026-112774

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.7 · High · EPSS 0.6% · Fix available

Published
Updated

Affected products and versions

  • cms

    Versions
    • ≥ 5.8.0, < 5.11.0: Affected (semver)
    • 5.11.0: Not affected (semver)

    Update to 5.11.0

Original sources

Check your server →