What’s Vulnerable › Vulnerabilities

CVE-2024-45411: Twig has a possible sandbox bypass

Description

Twig is a template language for PHP. Under some circumstances, the sandbox security checks are not run which allows user-contributed templates to bypass the sandbox restrictions. This vulnerability is fixed in 1.44.8, 2.16.1, and 3.14.0.

Affected products

How to fix

Upgrade to a fixed version: twigphp Twig 1.44.8, 2.16.1, 3.14.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-45411 or the next vulnerability affects your stack