Jinja is an extensible templating engine. In versions on the 3.x branch prior to 3.1.5, a bug in the Jinja compiler allows an attacker that controls both the content and filename of a template to execute arbitrary Python code, regardless of if Jinja's sandbox is used. To exploit the vulnerability, an attacker needs to control both the filename and the contents of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates where the template author can also choose the template filename. This vulnerability is fixed in 3.1.5.
CVE-2024-56201
This high-severity CVE scores 8.8 under NVD CVSS v3. EPSS exploit probability: 0.3% (21st percentile of EPSS-scored CVEs). 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.8
- EG Score
- 8.8HIGHmedium confidence
- EG Risk
- 40EG Risk 40/100CISA SSVC
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 computedSeverity88% × 45%Exploitation0% × 40%Automatability0% × 15%CISA SSVC: Track at low or medium mission impact; Track* at high (mission-essential systems).Action: A fix is available. Apply it within your standard update timelines. - EPSS PROB
- 0.3%
- EPSS %ILE
- 21st
- KEV
- Not listed
CISA SSVCTrack at low or medium mission impact; Track* at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines.
Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
December 23, 2024
Last Modified
September 22, 2025
Advisory Details (4)
Auto-updated Aug 10, 2026Sandbox breakout through malicious filenames · Advisory · pallets/jinja · GitHub
https://github.com/pallets/jinja/security/advisories/GHSA-gmj6-6f8f-6699Release 3.1.5 (pallets/jinja)
Patch available: pallets/jinja 3.1.5
https://github.com/pallets/jinja/releases/tag/3.1.5f-string sytax error when importing macro in a template which filename is also a template · Issue #1792 · pallets/jinja · GitHub
https://github.com/pallets/jinja/issues/1792commit 767b23617628 (pallets/jinja)
Patch available: pallets/jinja 3.1.5 (contains commit 767b23617628)
https://github.com/pallets/jinja/commit/767b23617628419ae3709ccfb02f9602ae9fe51fVendor Advisories for CVE-2024-56201(20)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2025:3491Red Hat Product SecurityHigh
Red Hat Security Advisory: Satellite 6.15.5.2 Async Update
- RHSA-2025:3397Red Hat Product SecurityHigh
Red Hat Security Advisory: RHOAI 2.16.0 - Red Hat OpenShift AI
- RHSA-2025:3374Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Developer Hub 1.5.1 release.
- RHSA-2025:3368Red Hat Product SecurityHigh
Red Hat Security Advisory: RHOAI 2.16.0 - Red Hat OpenShift AI
- RHSA-2025:1861Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat OpenStack Platform 17.1.4 (openstack-ansible-core) security update
- RHSA-2024:6121Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.18.1 security and extras update
- RHBA-2025:1597Red Hat Product SecurityHigh
Red Hat Bug Fix Advisory: Red Hat Quay v3.9.10 bug fix release
- RHSA-2025:1118Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.13.55 packages and security update
- +12 more
Patch Availability(23)
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
(11 across 11 ecosystems)
Alpine:v3.18(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| py3-jinja2 | — |
| — |
Alpine:v3.19(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| py3-jinja2 | — |
| — |
Alpine:v3.20(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| py3-jinja2 | — |
| — |
Alpine:v3.21(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| py3-jinja2 | — |
| — |
Alpine:v3.22(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| py3-jinja2 | — |
| — |
Alpine:v3.23(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| py3-jinja2 | — |
| — |
Alpine:v3.24(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| py3-jinja2 | — |
| — |
Debian:12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| jinja2 | 3.1.2-1, 3.1.2-1+deb12u1 |
| — |
Debian:13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| jinja2 | — |
| — |
Debian:14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| jinja2 | — |
| — |
PyPI(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| jinja2 | 3.0.0 ... 3.1.4 (9 versions) |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(10)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Microsoft MSRCCVE-2024-562012025-01-15
Jinja has a sandbox breakout through malicious filenames
- Red HatRHBA-2025:0409IMPORTANT2024-12-23
RHBA-2025:0409 — Important
- Red HatRHBA-2025:0610IMPORTANT2024-12-23
RHBA-2025:0610 — Important
- Red HatRHSA-2025:0308IMPORTANT2024-12-23
RHSA-2025:0308 — Important
- Red HatRHSA-2025:0335IMPORTANT2024-12-23
RHSA-2025:0335 — Important
- Red HatRHSA-2025:0338IMPORTANT2024-12-23
RHSA-2025:0338 — Important
- Red HatRHSA-2025:0341IMPORTANT2024-12-23
RHSA-2025:0341 — Important
- Red HatRHSA-2025:0345IMPORTANT2024-12-23
RHSA-2025:0345 — Important
- Red HatRHSA-2025:0721IMPORTANT2024-12-23
RHSA-2025:0721 — Important
- Red HatRHSA-2025:0722IMPORTANT2024-12-23
RHSA-2025:0722 — Important
Data Freshness Timeline
(refreshed 8× in last 7d / 31× 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 182 total refreshes for this CVE.
- 2026-10-10 05:33 UTCOSV refresh
- 2026-10-09 20:05 UTCEPSS rescore
- 2026-10-08 17:08 UTCEPSS rescore
- 2026-10-07 23:46 UTCEPSS rescore
- 2026-10-06 15:16 UTCEPSS rescore
- 2026-10-05 17:41 UTCEPSS rescore
- 2026-10-04 23:20 UTCEPSS rescore
- 2026-10-03 14:24 UTCEPSS rescore
- 2026-10-02 16:24 UTCEG score recompute
- 2026-10-01 19:48 UTCEPSS rescore
- 2026-09-30 15:02 UTCEPSS rescore
- 2026-09-30 15:02 UTCEPSS rescore
- 2026-09-28 13:50 UTCEPSS rescore
- 2026-09-27 13:44 UTCEPSS rescore
- 2026-09-27 13:44 UTCEPSS rescore
- 2026-09-26 15:57 UTCEPSS rescore
- 2026-09-24 14:01 UTCEPSS rescore
- 2026-09-23 13:46 UTCEPSS rescore
- 2026-09-22 14:47 UTCEPSS rescore
- 2026-09-20 20:14 UTCEPSS rescore
- 2026-09-20 20:14 UTCEPSS rescore
- 2026-09-20 15:14 UTCOSV refresh
- 2026-09-18 19:26 UTCEPSS rescore
- 2026-09-16 14:06 UTCEPSS rescore
- 2026-09-16 14:06 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-09-16 05:12 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-10 09:33 UTCEPSS rescore
- 2026-09-08 21:59 UTCEPSS rescore
- 2026-09-07 16:00 UTCEPSS rescore
- 2026-09-06 13:46 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 15:24 UTCOSV refresh
- 2026-09-01 13:52 UTCEPSS rescore
- 2026-08-30 19:16 UTCEPSS rescore
- 2026-08-30 19:16 UTCEPSS rescore
- 2026-08-30 01:21 UTCEPSS rescore
- 2026-08-28 21:39 UTCEPSS rescore
- 2026-08-27 14:24 UTCEPSS rescore
- 2026-08-26 14:44 UTCEPSS rescore
- 2026-08-25 13:47 UTCEPSS rescore
- 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:47 UTCEPSS rescore
- 2026-08-17 13:45 UTCEPSS rescore
- 2026-08-16 14:55 UTCEPSS rescore
- 2026-08-16 02:13 UTCEPSS rescore
- 2026-08-15 16:37 UTCOSV refresh
- 2026-08-15 01:29 UTCEPSS rescore
- 2026-08-13 21:59 UTCEPSS rescore
- 2026-08-12 13:49 UTCEPSS rescore
- 2026-08-11 13:41 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:26 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-03 10:35 UTCEPSS rescore
- 2026-08-02 02:25 UTCEPSS rescore
- 2026-08-02 02:25 UTCEPSS rescore
- 2026-08-01 04:14 UTCEPSS rescore
- 2026-07-31 08:12 UTCOSV refresh
- 2026-07-30 16:26 UTCEPSS rescore
- 2026-07-30 16:26 UTCEPSS rescore
- 2026-07-28 15:35 UTCEPSS rescore
- 2026-07-26 14:53 UTCEPSS rescore
- 2026-07-25 14:17 UTCEPSS rescore
- 2026-07-25 14:17 UTCEPSS rescore
- 2026-07-24 14:16 UTCEPSS rescore
- 2026-07-23 14:17 UTCEPSS rescore
- 2026-07-23 14:17 UTCEPSS rescore
- 2026-07-23 02:44 UTCEG score recompute
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-20 17:07 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-16 17:02 UTCEPSS rescore
- 2026-07-15 16:57 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 15:38 UTCOSV refresh
- 2026-07-13 06:12 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-11 08:26 UTCEPSS rescore
Related CVEs(same product + same vendor + same CWE)
Same product
10 shownAlpine:v3.18:py3-jinja2 · Debian:12:jinja2
Same vendor
10 shownredhat:RHBA-2025:0409 · redhat:RHSA-2025:0341 · redhat:RHSA-2025:0875
Frequently asked(5)
What is CVE-2024-56201?
When was CVE-2024-56201 disclosed?
Is CVE-2024-56201 actively exploited?
What is the CVSS score of CVE-2024-56201?
How do I remediate CVE-2024-56201?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-56201
Is Your Infrastructure Affected by CVE-2024-56201?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.