CVE-2026-48805
Twig is a template language for PHP. Prior to 3.27.0, deprecated inter ...
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD. Niedriger laut GHSA (niedrig).
Beschreibung
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.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| composer::GitHub Security Advisory Composer | twig/twig | 3.27.0 |
| composer::PHP Security Advisories Database | twig/twig | kein Fix angegeben |
| debian 11 | php-twig | kein Fix angegeben |
| debian 12 | php-twig | kein Fix angegeben |
| debian 13 | php-twig | 3.27.0-0+deb13u1 |
| debian 14 | php-twig | 3.27.0-1 |
| echo | php-twig | 3.27.0-0+deb13u1 |
| rapidfort debian 12 | php-twig | 0:3.27.0-0+deb13u1, 0:3.27.0-1 |
| rapidfort debian 13 | php-twig | 0:3.27.0-0+deb13u1, 0:3.27.0-1 |
Referenzen
- https://github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/CVE-2026-48805.yaml
- https://github.com/twigphp/Twig
- https://github.com/twigphp/Twig/commit/e235cae3a1d1e23edc24df4d675f18108c6b167b
- https://github.com/twigphp/Twig/releases/tag/v3.27.0
- https://github.com/twigphp/Twig/security/advisories/GHSA-p42q-9prx-q5wq
- https://symfony.com/blog/cve-2026-48805-sandbox-state-regression-in-deprecated-internal-wrappers-in-src-resources-core-php