CVE-2026-48805: Schwachstelle in Symfony Twig
Kritisch. Twig is a template language for PHP. Prior to 3.27.0, deprecated internal wrappers in src/Resources/core.php do not forward the current sandbox state to CoreExtension::checkArrow(), arraySome(), and arrayEvery(), allowing legacy calls such as twig_array_some(), twig_array_every(), and twig_check_arrow_in_sandbox() to bypass sandbox callable restrictions. This issue is fixed in version 3.27.0.
Packagist, CWE-693
- Ausnutzung
- Nicht bestätigt
- Schweregrad
- 9,1 von 10
- Angriffsrisiko
- Unbekannt
- Korrektur
- Korrigierte Version bekannt
- Update-Frist
- Keine Frist gesetzt
Details
- Hinweis-ID
- GHSA-p42q-9prx-q5wq
- Vektor
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Fehlerklasse
- CWE-693
- Veröffentlicht
- 30. Juni 2026
- Letzte Änderung
- 24. Okt. 2026
- Ökosystem
- Packagist
Betroffene Produkte
Betroffene Versionen und erste korrigierte Version
- Symfony Twig Vor 3.27.0. Behoben in 3.27.0
Betroffene Pakete
Anfällige Versionsbereiche und korrigierte Versionen
- twig/twig Packagist, Betroffen: Bis 3.26.0. Behoben in 3.27.0
Sicherheitshinweise
Hinweise von Herstellern und Sicherheitsstellen
- github.com/twigphp/Twig/security/advisories/GHSA-p42q-9prx-q5wq
- github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/CVE-2026-48805.yaml
- symfony.com/blog/cve-2026-48805-sandbox-state-regression-in-deprecated-internal-wrapper...
Updates und Korrekturen
Updates, Commits und Versionshinweise
- github.com/twigphp/Twig/releases/tag/v3.27.0
- github.com/twigphp/Twig/commit/e235cae3a1d1e23edc24df4d675f18108c6b167b
Weiter
- Schwachstellen in Twig Aktuelle Hinweise, Produkt beobachten