CVE-2026-46635
Twig: Sandbox property allowlist bypass via the column filter (array_column on objects)
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-46635 divulgada · CVSS 5.3 (CNA) | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
Twig is a template language for PHP. Prior to 3.26.0, the column filter passes object arrays to PHP array_column(), which reads public and magic properties without reaching CoreExtension::getAttribute() or SandboxExtension::checkPropertyAllowed(), allowing an untrusted template author with column in allowedFilters to read properties that are not in the sandbox allowlist. This issue is fixed in version 3.26.0.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Twig |
Corregida | 3.26.0 | — | — |
3.26.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/twigphp/Twig/security/advisories/GHSA-vcc8-phrv-43wjhttps://github.com/twigphp/Twig/commit/f05c5011c25caf17de37614b7e04662022532ac4https://github.com/twigphp/Twig/releases/tag/v3.26.0Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
