Twig is a template language for PHP. Prior to 3.26.0, {% sandbox %}{% include %} can include a template that was previously loaded outside the sandbox without re-invoking checkSecurity(), allowing the cached template to use tags, filters, and functions that should have been denied by SecurityPolicy::checkSecurity(). This issue is fixed in version 3.26.0.
References
| Link | Resource |
|---|---|
| https://github.com/twigphp/Twig/commit/819c6a89fe0f261b8555c4f4d5e27d31984223ea | Patch |
| https://github.com/twigphp/Twig/releases/tag/v3.26.0 | Release Notes |
| https://github.com/twigphp/Twig/security/advisories/GHSA-7fxw-r6jv-74c8 | Vendor Advisory |
Configurations
History
16 Jul 2026, 03:11
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/twigphp/Twig/commit/819c6a89fe0f261b8555c4f4d5e27d31984223ea - Patch | |
| References | () https://github.com/twigphp/Twig/releases/tag/v3.26.0 - Release Notes | |
| References | () https://github.com/twigphp/Twig/security/advisories/GHSA-7fxw-r6jv-74c8 - Vendor Advisory | |
| CPE | cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:* | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 8.1 |
| First Time |
Symfony
Symfony twig |
14 Jul 2026, 22:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-07-14 22:16
Updated : 2026-07-16 03:11
NVD link : CVE-2026-46638
Mitre link : CVE-2026-46638
CVE.ORG link : CVE-2026-46638
JSON object : View
Products Affected
symfony
- twig
CWE
CWE-693
Protection Mechanism Failure
