Amenazas en vivo

Todas las CVE / Symfony

CVE-2026-47732Symfony Twig

Alta 7.1

Prioridad
43
CVSS 4.0
7.1
EPSS
—
Requiere autenticación
Sí
Publicada
14 jul 2026
Actualizada
24 oct 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-863
SSVC (CISA)
Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/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. Prior to 3.26.0, several Twig language constructs trigger PHP string coercion on a Stringable operand without consulting SecurityPolicy::checkMethodAllowed(), allowing a sandboxed template author to invoke __toString() on objects reachable in the render context through conditional expressions, comparison operators, tests, template-loading tags, dynamic attribute names, spread arguments, the do tag, and the .. range operator. This issue is fixed in version 3.26.0.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Twig.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
Packagist twig/twig < 3.26.0 3.26.0 composer require "twig/twig:^3.26.0"

Según OSV / GitHub Advisories (GHSA-pr2w-4gpj-cpq4). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
symfonytwig< 3.26.0

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.