Vulnerability in Symfony Twig
CVE-2026-24425
Twig versions 2.16.x and 3.9.0 through 3.25.x contain a sandbox bypass vulnerability when using a SourcePolicyInterface that allows attackers with template rendering capabilities to pass arbitrary PHP callables to sort, filter, map, and re…
EPSS: 0.001 (29.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Symfony Twig
- Twigphp Twig — versions 3.9.0, 2.16.*
Weakness classification (CWE)
References
- disclosure@vulncheck.com (release-notes, Product, Release Notes)
- disclosure@vulncheck.com (vendor-advisory, Vendor Advisory)
- disclosure@vulncheck.com (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-24425?
- CVE-2026-24425 is a high-severity vulnerability in Symfony Twig, classified under Protection Mechanism Failure. CVSS score: 8.8/10. Published 2026-05-20.
- How severe is CVE-2026-24425?
- High severity. CVSS v3 base score is 8.8 out of 10.