llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Packagist · craftcms/cms

GHSA-J6R9-FXGV-J7X5

Authenticated admin RCE via Content Block field-layout JSON-string cleanse

Parche disponible
Descargar PNG JSON
CVSS
—
low
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión5.11.0
Exposición47 dDesde la divulgación, 5 oct 2026, 12:43 p. m.
Detección44 dDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir
Remediar en la ventana regular de mantenimiento
Estimación de Llama con el árbol SSVC de CISA a partir de la severidad declarada por GHSA (baja) y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Lo resuelve el mantenimiento de rutina.Modo siesta en el páramo activado.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada +1
5 oct 26
18 nov 26
22 nov 26
5 oct 26
17 oct 26
29 oct 26
10 nov 26
22 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-J6R9-FXGV-J7X5 divulgada
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
GitHub

This requires `allowAdminChanges` to be enabled, which is against security recommendations https://craftcms.com/knowledge-base/securing-craft#set-allowAdminChanges-to-false-in-production.

`craft\fields\ContentBlock::setFieldLayout()` accepts a `string` field-layout config, JSON-decodes it after the `Component::cleanseConfig()` sanitization boundary, and passes the result to `Fields::createLayout()`, which calls `Craft::createObject()` with no re-cleanse. A surviving top-level `as X` / `on X` key (a Yii behavior/event gadget) is therefore honored during object hydration, attaching an attacker-controlled behavior/event handler to the `FieldLayout` — the same terminal gadget abused by GHSA-265m-7826-wjqm — yielding authenticated admin remote code execution as the web user.

This is a distinct, unpatched caller of the object-config → behavior-injection RCE family.

Craft has patched this family caller-by-caller (`Conditions::createCondition`, `assembleLayoutFromPost` for GHSA-7jx7-3846-m7w7; `ElementIndexesController` for GHSA-2fph-6v5w-89hh; `element-index/search` for `GHSA-qrgm-p9w5-rrfw`) and never converted `createLayout()` to cleanse internally, leaving `ContentBlock::setFieldLayout` untouched.

### Impact
Authenticated admin (with `allowAdminChanges = true`, the default) achieves OS command execution as the web/PHP user, plus secret/environment disclosure — identical terminal impact to GHSA-265m-7826-wjqm and GHSA-7jx7-3846-m7w7.

Report ID: 1716

Versiones

Rangos afectados

Afectada Corregida
craftcms/cms≥ 5.8.0 < 5.11.0
5.8.0
5.11.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Packagistcraftcms/cms
Corregida 5.11.0 — —
Versiones corregidas5.11.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://github.com/craftcms/cms/security/advisories/GHSA-j6r9-fxgv-j7x5

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.