CVE-2024-45411: fallo de gravedad alta en twigphp Twig
Twig has a possible sandbox bypass
Publicada el · Actualizada el
Aviso por correo cuando entre en el KEV, tenga PoC pública o suba de nota.
21Vexday Risk Score
Sin señal de explotación. Ningún artefacto público de explotación conocido hasta ahora.
ssvc Trackcvss 8.6epss 0.8%
Twig is a template language for PHP. Under some circumstances, the sandbox security checks are not run which allows user-contributed templates to bypass the sandbox restrictions. This vulnerability is fixed in 1.44.8, 2.16.1, and 3.14.0.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Productos afectados
twigphp · TwigCVEs relacionadas — twigphp Twig
En el mismo producto, de las más peligrosas a las menos.
CVE-2022-23614HIGHCode injection in TwigEPSS 8.2%CVE-2022-39261HIGHTwig may load a template outside a configured directory when using the filesystem loaderEPSS 3.2%CVE-2026-46633HIGHTwig: PHP code injection via `{% use %}` template nameEPSS 0.8%CVE-2026-24425HIGHTwig 2.16.x & 3.9.0-3.25.x Sandbox Bypass via SourcePolicyInterfaceEPSS 0.8%CVE-2026-46640HIGHTwig: Arbitrary PHP code execution via `_self.(<string>)` macro-reference compilationEPSS 0.6%CVE-2026-46634HIGHTwig: `template_from_string()` escapes a SourcePolicy-driven sandbox via synthesized template nameEPSS 0.6%
Referencias
https://github.com/twigphp/Twig/commit/11f68e2aeb526bfaf638e30d4420d8a710f3f7c6https://github.com/twigphp/Twig/commit/2102dd135986db79192d26fb5f5817a566e0a7dehttps://github.com/twigphp/Twig/commit/7afa198603de49d147e90d18062e7b9addcf5233https://github.com/twigphp/Twig/security/advisories/GHSA-6j75-5wfj-gh66https://lists.debian.org/debian-lts-announce/2024/09/msg00031.html