CVE-2026-112774CWE-94code-injection

CVE-2026-112774

High · published October 20, 2026

CVSS v3.1
7.2
EPSS
1%
Percentile
42.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.2 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
8.7 · CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
0.00509 · 42.6th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-10-20T00:17Z
References (2)
EPSS history
Timeline
  • 21 OCT 03:27Z
    EPSS moved — → 1%
    epss
  • 19 OCT 19:10Z
    Craft CMS 5.8.0 before 5.11.0 Admin RCE via ContentBlock Field Layout
    cvelistv5
  • 19 OCT 19:10Z
    Craft CMS 5.8.0 before 5.11.0 Admin RCE via ContentBlock Field Layout
    cvelistv5