Back
CVE-2024-45411Twig has a possible sandbox bypass
- 8.6HighCVSS base score
- 0.85%Exploitation in 30 daysEPSS · top 41% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 12 days later
· 12 days later
Published
- 7 days later
· 7 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High8.6 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 0.85% · top 41% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.6.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagisttwig/twigGHSA-6j75-5wfj-gh66 (opens in a new tab)
References
References5
- https://github.com/twigphp/Twig/security/advisories/GHSA-6j75-5wfj-gh66 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/twigphp/Twig/commit/11f68e2aeb526bfaf638e30d4420d8a710f3f7c6 (opens in a new tab)x_refsource_MISC
- https://github.com/twigphp/Twig/commit/2102dd135986db79192d26fb5f5817a566e0a7de (opens in a new tab)x_refsource_MISC
- https://github.com/twigphp/Twig/commit/7afa198603de49d147e90d18062e7b9addcf5233 (opens in a new tab)x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2024/09/msg00031.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-2735 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-6j75-5wfj-gh66 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-45411)Record last updated .