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.6%, top 31% 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.8
- EG Score
- 8.8(medium)
- EPSS
- 21.9%
- KEV
- Not listed
Published
December 23, 2024
Last Modified
September 22, 2025
References (4)
- security-advisories@githubhttps://github.com/pallets/jinja/commit/767b23617628419ae3709ccfb02f9602ae9fe51f
- security-advisories@githubhttps://github.com/pallets/jinja/issues/1792
- security-advisories@githubhttps://github.com/pallets/jinja/releases/tag/3.1.5
- security-advisories@githubhttps://github.com/pallets/jinja/security/advisories/GHSA-gmj6-6f8f-6699
Vendor 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-2025:1118Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.13.55 packages and security update
- RHSA-2025:1130Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.15.45 packages and security update
- RHSA-2025:1123Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.16.34 security and extras 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
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| jinja2 | 3.0.0 ... 3.1.4 (9 versions) | 3.1.5 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(7)
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: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
Data Freshness Timeline
(refreshed 9× in last 7d / 43× 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.
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-05 02:29 UTCEPSS rescore
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-01 15:06 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 04:55 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:01 UTCOSV refresh
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
Show 58 moreShow fewer
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-15 17:48 UTCEPSS rescore
- 2026-06-14 23:17 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-11 13:59 UTCEPSS rescore
- 2026-06-11 13:59 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-08 03:58 UTCOSV refresh
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-23 16:08 UTCEG score recompute
- 2026-05-23 16:08 UTCVendor advisory
Related CVEs(same vendor + same CWE)
Same vendor
10 shownmsrc · redhat
Same CWE
10 shownCWE-150
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.