CVE-2026-46627
Twig: Sandbox resource exhaustion via unbounded for / range()
Texto original en inglés · Ver en español
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Fuente: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCiclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-46627 divulgada · CVSS 7.1 (CNA) | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Twig is a template language for PHP. Prior to 3.26.0, the Twig sandbox does not prevent a template from consuming CPU, memory, or wall-clock time, even under the strictest allow-list, allowing untrusted templates to cause resource exhaustion. This issue is addressed in version 3.26.0 by documenting that the sandbox does not protect against resource exhaustion.
Affects Twig releases before 3.26.0 in applications that render untrusted templates, where a template can exhaust CPU, memory, or run time even under the strictest sandbox allow-list. Fixed in 3.26.0.
Condiciones y alcance
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-923g-j88x-j34qhttps://github.com/twigphp/Twig/commit/6bfa285e2f98651adb7aa480bf83a741d154f09fhttps://github.com/twigphp/Twig/releases/tag/v3.26.0Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
