CVE-2026-46634
1 advisory.
Packagist/twig/twig CVE-2026-46634: medium, EPSS 0.62%
Twig: `template_from_string()` escapes a SourcePolicy-driven sandbox via synthesized template name
Action: Upgrade twig/twig to 3.26.0 or later.
composer require twig/twig:3.26.0Affected
| introduced | fixed | last affected |
|---|---|---|
| 3.9.0 | 3.26.0 | - |
Fixed versions
| 3.26.0 |
Sources
- osv: GHSA-24x9-r6q4-q93w
- https://github.com/twigphp/Twig/security/advisories/GHSA-24x9-r6q4-q93w
- https://github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/CVE-2026-46634.yaml
- https://github.com/twigphp/Twig
- https://symfony.com/cve-2026-46634
CVE-2026-46634 · published · modified · JSON