CVE-2024-56201High· 7.3▾ TwilightA flaw was found in the Jinja2 package. 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 Jinja's sandbox being used. An attacker needs …
▾ Twilight zone — High severity, or a signal on a lesser flaw
impact 40.2 · likelihood 0.1 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 30.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via CSAF
0.3%
7.3 → 8.8
8.8 → 7.3
7.3 → 8.8
8.8 → 7.3
7.3 → 8.8
8.8 → 7.3
7.3 → 8.8
8.8 → 7.3
7.3 → 8.8
8.8 → 7.3
7.3 → 8.8
8.8 → 7.3
Last analysed / modified upstream
A flaw was found in the Jinja2 package. 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 Jinja's sandbox being used. An attacker needs to be able 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 that execute untrusted templates where the template author can also choose the template filename.
jinja2: Jinja has a sandbox breakout through malicious filenames — rated Important by Red Hat. Released 2024-12-23, updated 2026-10-15.
Affected:
Fixed:
No fix planned:
Not affected:
Red Hat Ansible Automation Platform https://access.redhat.com/errata/RHSA-2025:0721 Red Hat Ansible Automation Platform https://access.redhat.com/errata/RHSA-2025:0722 Red Hat Ansible Automation Platform https://access.redhat.com/errata/RHSA-2025:0777
Workarounds / mitigations:
Affected packages:
jinja2 >= 3.0.0, < 3.1.5Patched in:
jinja2 3.1.5Field changes observed since this record was first indexed.
Connected by shared product, vendor, weakness, or advisory.
CVE-2024-56326Medium· 6.3jinja2: Jinja has a sandbox breakout through indirect reference to format method (CVE-2024-56326)
CVE-2025-21613High· 8.1go-git: argument injection via the URL field (CVE-2025-21613)
CVE-2026-115877Medium· 5.4twisted: Twisted: HTTP request smuggling via improper header delimiter handling (CVE-2026-115877)
CVE-2026-114138High· 7.5djangorestframework: djangorestframework: Denial of Service via unbounded Accept header parsing (CVE-2026-114138)
CVE-2026-114140High· 7.8nbconvert: nbconvert: arbitrary file write via path traversal in ExtractOutputPreprocessor (CVE-2026-114140)
CVE-2026-114145High· 7.5GitPython: GitPython: arbitrary code execution via improper submodule path validation (CVE-2026-114145)