Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Symfony | Twig | < 3.27.0 |
Related Weaknesses (CWE)
References
- https://github.com/twigphp/Twig/commit/09c6706407ed7b1cb2d7d1408004f811e47e0424Patch
- https://github.com/twigphp/Twig/releases/tag/v3.27.0Release Notes
- https://github.com/twigphp/Twig/security/advisories/GHSA-h8vq-8gpg-mhcgVendor Advisory
FAQ
What is CVE-2026-48808?
CVE-2026-48808 is a vulnerability with a CVSS score of 7.5 (HIGH). 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()...
How severe is CVE-2026-48808?
CVE-2026-48808 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-48808?
Check the references section above for vendor advisories and patch information. Affected products include: Symfony Twig.