CVE-2026-48808
Twig is a template language for PHP. Prior to 3.27.0, the column …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/twigphp/Twig/security/advisories/GHSA-h8vq-8gpg-mhcg
- github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/CVE-2026-48808.yaml
- github.com/twigphp/Twig/releases/tag/v3.27.0
- symfony.com/blog/cve-2026-48808-sandbox-property-allowlist-bypass-via-the-column-filter-un
- github.com/advisories/GHSA-h8vq-8gpg-mhcg
- github.com/twigphp/Twig/commit/09c6706407ed7b1cb2d7d1408004f811e47e0424
- nvd.nist.gov/vuln/detail/CVE-2026-48808
- cve.org/CVERecord?id=CVE-2026-48808
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.