
Twig Sandbox Bypass Flaw CVE-2026-133772 Rated Low Severity
A low-severity vulnerability in the Twig templating engine allows attackers to bypass sandbox restrictions by exploiting how the 'guard' tag parses unselected branches. The flaw, identified as CVE-2026-133772, affects versions 3.15.0 through 3.30.x and was patched in version 3.31.0. Although the CVSS score is 2.3, the issue stems from incorrect authorization checks where tags like 'extends' and 'macro' register effects even when their code branch is not executed.













