← Vulnerability feed

Vulnerability record · CVE-2024-45411 · published 9 September 2024

CVE-2024-45411: Symfony twig vulnerability

Symfony · Twig

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.

8.6 CVSS 3.1 High EPSS 0.85% · top 43.5% CWE-693 · CWE-693
8.6CVSS 3.1 base score
0.85%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
5References
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-45411 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2022-23614Symfony twig injection vulnerabilityTwig is an open source template language for PHP. When in a sandbox mode, the `arrow` parameter of the `sort` filter must be a closure to avoid attac…EPSS 8.2%9.8CVE-2018-13818Symfony twig code injection vulnerabilityTwig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter. NOTE: the vendor points out that Twig itself is n…EPSS 6.9%8.7CVE-2026-46640Symfony twig code injection vulnerabilityTwig is a template language for PHP. From 3.15.0 until 3.26.0, _self.(<string>) and import-alias dynamic attribute syntax can concatenate an attacker…EPSS 0.64%8.7CVE-2026-46633Symfony twig code injection vulnerabilityTwig is a template language for PHP. Prior to 3.26.0, Compiler::string() does not escape single quotes when a template name from a {% use %} tag is p…EPSS 0.69%8.7CVE-2026-24425Symfony twig vulnerabilityTwig versions 2.16.x and 3.9.0 through 3.25.x contain a sandbox bypass vulnerability when using a SourcePolicyInterface that allows attackers with te…EPSS 0.76%7.7CVE-2026-46634Symfony twig vulnerabilityTwig 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…EPSS 0.62%7.5CVE-2022-39261Symfony twig path traversal vulnerabilityTwig is a template language for PHP. Versions 1.x prior to 1.44.7, 2.x prior to 2.15.3, and 3.x prior to 3.4.3 encounter an issue when the filesystem…EPSS 3.2%7.5CVE-2001-1537Symfony twig cleartext storage of sensitive data vulnerabilityThe default "basic" security setting' in config.php for TWIG webmail 2.7.4 and earlier stores cleartext usernames and passwords in cookies, which cou…EPSS 1.1%

Source: NIST National Vulnerability Database (record CVE-2024-45411), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.