CVE-2026-46634

HIGH CVSS 4.0: 7.7 EPSS 0.62%
Updated Oct 25, 2026
Symfony
Parameter Value
CVSS 7.7 (HIGH)
Affected Versions 3.9.0 — 3.26.0
Fixed In 3.26.0
Type CWE-693
Vendor Symfony
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Symfony Twig
cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:*
3.9.0 3.26.0