PT-2026-27462 · Pixel & Tonic · Craft Cms

Yuma4869

·

Publicado

2026-03-24

·

Atualizado

2026-05-06

·

CVE-2026-33157

CVSS v4.0

8.6

Alta

VetorAV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Craft CMS versions 4.x through 5.9.12
Description Craft CMS contains a Remote Code Execution (RCE) issue that bypasses previous security fixes. This allows any authenticated user with control panel access to potentially execute arbitrary code. The issue stems from insufficient sanitization of the fieldLayouts parameter in the ElementIndexesController::actionFilterHud() function, which is passed directly to FieldLayout::createFromConfig() without proper cleansing. Specifically, the fieldLayouts parameter is not processed with cleanseConfig(), unlike the conditionConfig parameter. This enables the injection of Yii2 behavior/event keys (such as "as" and "on" prefixed keys), leading to the instantiation of arbitrary objects and ultimately, the execution of shell commands via a chain of events involving Component:: get(), call user func(), and shell exec().
Recommendations Craft CMS versions 4.x through 5.9.12 should be updated to version 5.9.13 or later.

Exploit

Correção

RCE

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2026-33157
GHSA-2FPH-6V5W-89HH

Produtos afetados

Craft Cms