Vulnerability Explorer›CVE-2026-46634
VULNERABILITY
CVE-2026-46634
Common Vulnerabilities and Exposures record
HIGH
Summary
Twig is a template language for PHP. From 3.9.0 until 3.26.0, template_from_string() compiles an inner template under a synthesized __string_template__<hash> name that can fall outside a SourcePolicyInterface sandbox decision, allowing a sandboxed template that can call template_from_string and include to render an inner template without security policy enforcement. This issue is fixed in version 3.26.0.
Risk
- CVSS
- 7.7
- Severity
- HIGH
- Vector
- CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Timeline
- Published
- Jul 14, 2026 22:16
- Modified
- Oct 24, 2026 22:10
- Last observed
- Oct 24, 2026 23:20
CWE
Affected product identifiers
cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:*