CVE-2026-46634: Schwachstelle in Symfony Twig
Kritisch. Twig is a template language for PHP. From 3.9.0 until 3.26.0, template_from_string() compiles an inner template under a synthesized __string_template__<hash> name that can fall outside a SourcePolicyInterface sandbox decision, allowing a sandboxed template that can call template_from_string and include to render an inner template without security policy enforcement. This issue is fixed in version 3.26.0.
Packagist, CWE-693
- Ausnutzung
- Nicht bestätigt
- Schweregrad
- 9,8 von 10
- Angriffsrisiko
- Unbekannt
- Korrektur
- Korrigierte Version bekannt
- Update-Frist
- Keine Frist gesetzt
Details
- Hinweis-ID
- GHSA-24x9-r6q4-q93w
- Vektor
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Fehlerklasse
- CWE-693
- Veröffentlicht
- 21. Mai 2026
- Letzte Änderung
- 24. Okt. 2026
- Ökosystem
- Packagist
Betroffene Produkte
Betroffene Versionen und erste korrigierte Version
- Symfony Twig Ab 3.9.0 bis vor 3.26.0. Behoben in 3.26.0
Betroffene Pakete
Anfällige Versionsbereiche und korrigierte Versionen
- twig/twig Packagist, Betroffen: Ab 3.9.0 bis vor 3.26.0. Behoben in 3.26.0
Sicherheitshinweise
Hinweise von Herstellern und Sicherheitsstellen
- github.com/twigphp/Twig/security/advisories/GHSA-24x9-r6q4-q93w
- github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/CVE-2026-46634.yaml
- symfony.com/cve-2026-46634
Updates und Korrekturen
Updates, Commits und Versionshinweise
- github.com/twigphp/Twig/commit/1cde8f2b62463f85d47995fc25f8241cb409d915
- github.com/twigphp/Twig/releases/tag/v3.26.0
Weiter
- Schwachstellen in Twig Aktuelle Hinweise, Produkt beobachten