Skip to main content
← All vulnerabilities
CVE-2026-112774GHSA-J6R9-FXGV-J7X5

Craft CMS 5.8.0 before 5.11.0 Admin RCE via ContentBlock Field Layout

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.11.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • craftcms cms

    From 5.8.0 · fixed in 5.11.0

References 2

GitHub · craftcms/cms

vulncheck.com