CVE-2026-133772 Details
Description
The guard tag compiles only one of its branches, depending on whether a callable exists. The other branch was still parsed, though. The extends, use, macro and block tags in it registered their effects on the template. The sandbox doesn't see these tags, since that branch isn't compiled. A sandboxed template allowed to use guard could therefore extend a template, import blocks and define macros, while the policy doesn't allow these tags: {% guard filter upper %}{% else %}{% extends "parent.html" %}{% endguard %} The templates reached this way come from the loader of the sandbox, and they are sandboxed too. What the branch that isn't selected registers on the parser is now discarded.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No CVSS 3.x data is available for this CVE.
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 30, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/twigphp/Twig/commit/d5011f4654042f03d8986b5b3ba12a4d85f976f8 | b5aa5c7f-767d-4597-9c64-3ac08b8711c6 | |
| https://github.com/twigphp/Twig/security/advisories/GHSA-qr49-4294-4gmw | b5aa5c7f-767d-4597-9c64-3ac08b8711c6 | |
| https://symfony.com/cve-2026-133772 | b5aa5c7f-767d-4597-9c64-3ac08b8711c6 |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-863 | Incorrect Authorization | b5aa5c7f-767d-4597-9c64-3ac08b8711c6 |
Affected Products
No affected product data is available for this CVE.
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Dec 1, 2026 | CVE Modified | CISA-ADP |
| Nov 24, 2026 | New CVE Received | b5aa5c7f-767d-4597-9c64-3ac08b8711c6 |