CVE-2026-24425Symfony Twig
Alta 8.7
Seguir: esta CVE · Symfony · Symfony Twig Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 52
- CVSS 4.0
- 8.7
- EPSS
- —
- Requiere autenticación
- Sí
- Publicada
- 20 may 2026
- Actualizada
- 17 nov 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-693
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Qué pasa
Twig versions 2.16.x and 3.9.0 through 3.25.x contain a sandbox bypass vulnerability when using a SourcePolicyInterface that allows attackers with template rendering capabilities to pass arbitrary PHP callables to sort, filter, map, and reduce filters. Attackers can exploit the runtime check that fails to use the current template source to bypass sandbox restrictions and execute arbitrary code when the sandbox is enabled through a source policy rather than globally.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Twig.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Packagist | twig/twig |
≥ 2.16.0 ≤ 2.16.1 |
sin versión corregida | — |
| Packagist | twig/twig |
≥ 3.9.0 < 3.26.0 |
3.26.0 |
composer require "twig/twig:^3.26.0" |
Según OSV / GitHub Advisories (GHSA-2q52-x2ff-qgfr). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| symfony | twig | ≥ 2.16.0 ≤ 2.16.1 |
| symfony | twig | ≥ 3.9.0 < 3.26.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Product Release Notes
- github.com Vendor Advisory
- www.vulncheck.com Third Party Advisory