CVE-2024-45411
CVE-2024-45411 is a high-severity vulnerability in Symfony Twig with a CVSS 3.x base score of 8.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-693.
Key facts
- Severity: High (CVSS 3.x base score 8.5)
- EPSS exploit prediction: 1% (53rd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-2735
- Weakness: CWE-693
- Affected product: Symfony Twig
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-45411?
- 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.
- How severe is CVE-2024-45411?
- CVE-2024-45411 has a CVSS 3.x base score of 8.5, rated high severity. It is exploitable over network with high attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-45411 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (53rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-45411?
- CVE-2024-45411 affects Symfony Twig. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-45411?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2024-45411 have an EU (EUVD) identifier?
- Yes. CVE-2024-45411 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-2735.
- When was CVE-2024-45411 published?
- CVE-2024-45411 was published on 2024-09-09 and last updated on 2026-06-17.
References
- https://github.com/twigphp/Twig/commit/11f68e2aeb526bfaf638e30d4420d8a710f3f7c6
- https://github.com/twigphp/Twig/commit/2102dd135986db79192d26fb5f5817a566e0a7de
- https://github.com/twigphp/Twig/commit/7afa198603de49d147e90d18062e7b9addcf5233
- https://github.com/twigphp/Twig/security/advisories/GHSA-6j75-5wfj-gh66
- https://lists.debian.org/debian-lts-announce/2024/09/msg00031.html
Affected products (1)
- cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:*
More vulnerabilities in Symfony Twig
- CVE-2018-13818 — Critical (CVSS 9.8): Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter. NOTE: the vendor…
- CVE-2026-24425 — High (CVSS 8.8): Twig versions 2.16.x and 3.9.0 through 3.25.x contain a sandbox bypass vulnerability when using a SourcePolicyInterface…
- CVE-2022-23614 — High (CVSS 8.8): Twig is an open source template language for PHP. When in a sandbox mode, the `arrow` parameter of the `sort` filter…
- CVE-2022-39261 — High (CVSS 7.5): Twig 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…
- CVE-2001-1537 — High (CVSS 7.5): The default "basic" security setting' in config.php for TWIG webmail 2.7.4 and earlier stores cleartext usernames and…
- CVE-2015-7809 — Medium (CVSS 6.8): The displayBlock function Template.php in Sensio Labs Twig before 1.20.0, when Sandbox mode is enabled, allows remote…
All CVEs affecting Symfony Twig →
Other CWE-693 (Protection Mechanism Failure) vulnerabilities
- CVE-2026-47140 — Critical (CVSS 10.0): vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.4, NodeVM blocks several dangerous Node.js builtins…
- CVE-2026-34208 — Critical (CVSS 10.0): SandboxJS is a JavaScript sandboxing library. Prior to 0.8.36, SandboxJS blocks direct assignment to global objects…
- CVE-2026-34938 — Critical (CVSS 10.0): PraisonAI is a multi-agent teams system. Prior to version 1.5.90, execute_code() in praisonai-agents runs…
- CVE-2026-2761 — Critical (CVSS 10.0): Sandbox escape in the Graphics: WebRender component. This vulnerability was fixed in Firefox 148, Firefox ESR 115.33,…
- CVE-2022-32845 — Critical (CVSS 10.0): This issue was addressed with improved checks. This issue is fixed in watchOS 8.7, iOS 15.6 and iPadOS 15.6, macOS…
- CVE-2026-45102 — Critical (CVSS 9.9): OneUptime is an open-source monitoring and observability platform. Prior to 10.0.98, OneUptime uses the Node.js' vm…
Browse all CWE-693 (Protection Mechanism Failure) vulnerabilities →