GHSA-QJ4V-M29P-FJ4M
string-typed field-layout elements evade array-only cleanse, enabling behavior-injection RCE
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-QJ4V-M29P-FJ4M divulgada | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Craft CMS control-panel field-layout hydration applies `Component::cleanseConfig()` to strip Yii2 configuration keys (`as <name>` behavior attachments, on `<event>` handler registrations) that would otherwise reach `Craft::createObject()` and trigger arbitrary object instantiation / event-handler execution.
`cleanseConfig` recurses only into arrays. A field-layout tab whose element value is posted as a JSON string is walked past by cleanse untouched, then decoded into a live array by `FieldLayoutTab::__construct()` after cleanse has run — resurrecting element-level on/as keys that flow through `setElements` → `Fields::createLayoutElement()`→ `Craft::createObject()`. Any authenticated control-panel user (no admin, no special permission, no allowAdminChanges) can reach this.
This is an incomplete-fix bypass of GHSA-2fph-6v5w-89hh (CVE-2026-33157) and GHSA-qrgm-p9w5-rrfw (CVE-2026-44011): both fixes inserted `Component::cleanseConfig` on the fieldLayouts/condition hydration paths.
Impact
Authenticated behavior/event-handler injection — the same RCE class the maintainer accepted across GHSA-86vw-x4ww-x467, GHSA-2fph-6v5w-89hh, and GHSA-qrgm-p9w5-rrfw. Reachable by any authenticated control-panel user.
Report ID: 1565
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistcraftcms/cms |
Corregida | 5.10.12 | — | — |
5.10.12Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/craftcms/cms/security/advisories/GHSA-qj4v-m29p-fj4mLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
