CVE-2026-48808
Description
Twig is a template language for PHP. Prior to 3.27.0, the column filter passes the active sandbox state as a boolean but does not forward the current Source to SandboxExtension::checkPropertyAllowed(), so SourcePolicyInterface decisions are lost and a template author can read public or magic properties not allowed by the sandbox policy. This issue is fixed in version 3.27.0.
How to fix
- symfony twig3.27.0 or later
- twig/twig3.27.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| symfony twig | v < 3.27.0 | 3.27.0 |
| twig/twigPackagist | v < 3.27.0 | 3.27.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.