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.
CVE-2024-45411
This high-severity CVE scores 8.5 under NVD CVSS v3. EPSS exploit probability: 0.8%, top 46% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.5
- EG Score
- 8.5(medium)
- EG Risk
- 39(Track)EG Risk 39/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity85% × 45%Exploitation1% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 1%
- EPSS %ILE
- 57%
- KEV
- Not listed
Published
September 9, 2024
Last Modified
November 21, 2024
Advisory Details (5)
Auto-updated Sep 2, 2026[SECURITY] [DLA 3888-1] php-twig security update
https://lists.debian.org/debian-lts-announce/2024/09/msg00031.htmlPossible sandbox bypass · Advisory · twigphp/Twig · GitHub
https://github.com/twigphp/Twig/security/advisories/GHSA-6j75-5wfj-gh66commit 7afa198603de (twigphp/Twig)
Fix landed in twigphp/Twig commit 7afa198603de — awaiting tagged release
https://github.com/twigphp/Twig/commit/7afa198603de49d147e90d18062e7b9addcf5233commit 2102dd135986 (twigphp/Twig)
Fix landed in twigphp/Twig commit 2102dd135986 — awaiting tagged release
https://github.com/twigphp/Twig/commit/2102dd135986db79192d26fb5f5817a566e0a7decommit 11f68e2aeb52 (twigphp/Twig)
Patch available: twigphp/Twig v3.24.0 (contains commit 11f68e2aeb52)
https://github.com/twigphp/Twig/commit/11f68e2aeb526bfaf638e30d4420d8a710f3f7c6Patch Availability(2)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | php-twig-string-extra (3.8.0-2ubuntu0.1~esm1) @ noble | 2026-05-23 | ubuntu |
| ubuntu | php-twig-string-extra (3.8.0-3ubuntu1) @ oracular | 2026-05-23 | ubuntu |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(5 across 5 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| php-twig | 2.14.3-1, 2.14.3-1+deb11u1, 2.14.3-1+deb11u2 | 2.14.3-1+deb11u3 | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| php-twig | 3.5.1-1 | 3.5.1-1+deb12u1 | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| php-twig | — | 3.8.0-4 | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| php-twig | — | 3.8.0-4 | — |
Packagist(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| twig/twig | v3.0.0 ... v3.9.3 (40 versions) | 3.11.1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(2)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
Data Freshness Timeline
(refreshed 8× in last 7d / 29× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 160 total refreshes for this CVE.
- 2026-09-19 15:40 UTCEPSS rescore
- 2026-09-18 19:26 UTCEPSS rescore
- 2026-09-18 19:26 UTCEPSS rescore
- 2026-09-16 14:06 UTCEPSS rescore
- 2026-09-16 05:12 UTCEPSS rescore
- 2026-09-15 03:08 UTCEPSS rescore
- 2026-09-15 03:08 UTCEPSS rescore
- 2026-09-13 16:45 UTCEPSS rescore
- 2026-09-12 14:59 UTCEPSS rescore
- 2026-09-11 14:51 UTCEPSS rescore
- 2026-09-11 09:35 UTCEPSS rescore
- 2026-09-08 21:58 UTCEPSS rescore
- 2026-09-07 16:00 UTCEPSS rescore
- 2026-09-06 13:46 UTCEPSS rescore
- 2026-09-06 13:46 UTCEPSS rescore
- 2026-09-05 15:27 UTCEPSS rescore
- 2026-09-04 13:59 UTCEPSS rescore
- 2026-09-04 05:05 UTCEPSS rescore
- 2026-09-02 14:10 UTCEPSS rescore
- 2026-09-01 13:52 UTCEPSS rescore
- 2026-09-01 11:38 UTCOSV refresh
- 2026-08-30 19:16 UTCEPSS rescore
- 2026-08-28 21:39 UTCEPSS rescore
- 2026-08-27 14:23 UTCEPSS rescore
- 2026-08-25 13:47 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-24 14:15 UTCEPSS rescore
- 2026-08-23 00:18 UTCEPSS rescore
- 2026-08-21 23:47 UTCEPSS rescore
- 2026-08-20 22:54 UTCEPSS rescore
- 2026-08-19 17:02 UTCEPSS rescore
- 2026-08-18 13:46 UTCEPSS rescore
- 2026-08-17 13:45 UTCEPSS rescore
- 2026-08-16 14:54 UTCEPSS rescore
- 2026-08-16 02:13 UTCEPSS rescore
- 2026-08-15 11:37 UTCOSV refresh
- 2026-08-15 01:28 UTCEPSS rescore
- 2026-08-13 21:59 UTCEPSS rescore
- 2026-08-12 13:49 UTCEPSS rescore
- 2026-08-11 13:40 UTCEPSS rescore
- 2026-08-10 23:58 UTCEPSS rescore
- 2026-08-09 13:45 UTCEPSS rescore
- 2026-08-08 16:35 UTCEPSS rescore
- 2026-08-07 16:25 UTCEPSS rescore
- 2026-08-06 13:45 UTCEPSS rescore
- 2026-08-05 19:16 UTCEPSS rescore
- 2026-08-04 15:08 UTCEPSS rescore
- 2026-08-04 10:36 UTCEPSS rescore
- 2026-08-03 10:34 UTCEPSS rescore
- 2026-08-02 02:25 UTCEPSS rescore
- 2026-08-01 04:14 UTCEPSS rescore
- 2026-07-31 00:21 UTCOSV refresh
- 2026-07-30 16:26 UTCEPSS rescore
- 2026-07-30 01:29 UTCEPSS rescore
- 2026-07-28 15:34 UTCEPSS rescore
- 2026-07-27 14:11 UTCEPSS rescore
- 2026-07-26 14:53 UTCEPSS rescore
- 2026-07-26 14:53 UTCEPSS rescore
- 2026-07-25 14:16 UTCEPSS rescore
- 2026-07-24 14:16 UTCEPSS rescore
- 2026-07-23 14:17 UTCEPSS rescore
- 2026-07-23 02:40 UTCEG score recompute
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-20 17:06 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-16 17:02 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-13 22:29 UTCEPSS rescore
- 2026-07-13 08:38 UTCOSV refresh
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-08 15:14 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-01 15:05 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-29 14:05 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
Frequently asked(5)
What is CVE-2024-45411?
When was CVE-2024-45411 disclosed?
Is CVE-2024-45411 actively exploited?
What is the CVSS score of CVE-2024-45411?
How do I remediate CVE-2024-45411?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-45411
Is Your Infrastructure Affected by CVE-2024-45411?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.