CVE-2026-46633Symfony 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
- 14 jul 2026
- Actualizada
- 4 nov 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-94
- 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 is a template language for PHP. Starting in 1.15.1 and prior to 3.26.0, Compiler::string() does not escape single quotes when a template name from a {% use %} tag is placed inside a PHP single-quoted string literal, allowing a crafted template name to terminate the string and inject arbitrary PHP expressions into the compiled cache file. This issue is fixed in version 3.26.0.
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 |
≥ 1.15.1 < 3.26.0 |
3.26.0 |
composer require "twig/twig:^3.26.0" |
Según OSV / GitHub Advisories (GHSA-7p85-w9px-jpjp). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| symfony | twig | < 3.26.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- gist.github.com
- github.com
- github.com Patch
- github.com
- github.com Patch
- github.com Release Notes
- github.com Vendor Advisory
- symfony.com