CVE-2026-48807
1 advisory.
Packagist/twig/twig CVE-2026-48807: medium
Twig: Sandbox `__toString()` policy bypass via `Traversable` in `join` and `replace` filters
Action: Upgrade twig/twig to 3.27.0 or later.
composer require twig/twig:3.27.0Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 3.27.0 | - |
Fixed versions
| 3.27.0 |
Sources
- osv: GHSA-8x9c-rmqh-456c
- https://github.com/twigphp/Twig/security/advisories/GHSA-8x9c-rmqh-456c
- https://github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/CVE-2026-48807.yaml
- https://github.com/twigphp/Twig
- https://github.com/twigphp/Twig/releases/tag/v3.27.0
- https://symfony.com/blog/cve-2026-48807-sandbox-tostring-policy-bypass-via-traversable-in-join-replace-and-in-not-in-operators
CVE-2026-48807 · published · modified · JSON