Vulnerability
CVE-2024-56201
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.
108 advisories report this vulnerability, across 14 ecosystems.
Advisories
-
ALAS2023-2025-811
Amazon Linux 2023 - ALAS2023-2025-811: Important priority package update for ansible-core
-
ALPINE-CVE-2024-56201
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…
- ALPINE-EDGE-CVE-2024-56201
-
ALSA-2025:0308
Important: fence-agents security update
-
AZL-54650
CVE-2024-56201 affecting package python-jinja2 for versions less than 3.0.3-5
-
AZL-54660
CVE-2024-56201 affecting package python-jinja2 for versions less than 3.1.2-2
- CGA-29ch-2pj2-wccq
- CGA-2vgh-35vg-8fr5
- CGA-33rj-rmf2-779v
- CGA-353r-8c3f-rq3c
- CGA-3cx3-m5x7-9fcw
- CGA-3pqx-qcf7-r5m8
- CGA-3wvm-6rfr-mqrm
- CGA-3xvv-w3hx-rfgq
- CGA-4fh4-27xh-7jv2
- CGA-4w6v-xgpf-82wq
- CGA-52qw-wqq6-pfc3
- CGA-53v8-g6w7-86hw
- CGA-53vm-cqc2-x8vf
- CGA-53w7-p6h9-m3w5
- CGA-6c59-qp87-xmgw
- CGA-6fc9-j99r-crx9
- CGA-732g-23vm-54mx
- CGA-75wj-rg2g-88pf
- CGA-76wr-frvw-274r
- CGA-7h82-3f3r-828v
- CGA-7qgw-97c9-72fm
- CGA-87c5-g2v7-v467
- CGA-8g4r-wj37-w6p9
- CGA-8w3g-4r42-242v
- CGA-8x3r-6j76-cx52
- CGA-9fg6-gwpv-w6gh
- CGA-9jcq-pvw4-xr8p
- CGA-9wh5-x535-5xfp
- CGA-c3p9-v29w-xqp9
- CGA-c3rm-2wgx-4p76
- CGA-c95p-7285-pmx4
- CGA-c99w-4g66-4vhv
- CGA-crrw-xhjj-97x7
- CGA-f42v-pr3c-56w8
- CGA-f63w-p4h7-cqq3
- CGA-f7w9-q489-vp9x
- CGA-ffjg-3x22-v7xq
- CGA-fxxr-v539-58fg
- CGA-gjx7-xv4x-vw6g
- CGA-gpr7-pv4h-49rp
- CGA-gwfx-47j2-vr8x
- CGA-h67r-8c82-8fc4
- CGA-h6xx-94w9-3rf9
- CGA-h9v2-c4jg-jjq7
- CGA-hvh8-5547-2894
- CGA-j2gh-rrrw-h49h
- CGA-j3cc-7j5r-gh9v
- CGA-j748-8rr4-5cvj
- CGA-jggg-4q5c-5hm3
- CGA-jw5w-g53x-93vr
- CGA-m59f-4vfp-3c69
- CGA-mx64-6mg7-fq79
- CGA-mxc4-phfm-5xpg
- CGA-mxw4-vrg7-579c
- CGA-p969-hc9m-pxm4
- CGA-pf4c-7245-632g
- CGA-ph5j-35rv-7v9g
- CGA-pqf8-9vpg-4rp9
- CGA-qf4h-79j3-r6c9
- CGA-qx3g-g6wr-8c2j
- CGA-rfv7-7xfh-cj49
- CGA-v5gw-qjq4-6h9f
- CGA-v6vm-jgpp-5jjw
- CGA-v9pj-5qhq-9f37
- CGA-w4vx-6vj8-w4x8
- CGA-wv9j-gmm9-mhf2
- CGA-xrqm-7999-8jf9
-
DEBIAN-CVE-2024-56201
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…
-
ELSA-2025-0308
ELSA-2025-0308: fence-agents security update (IMPORTANT)
-
GHSA-gmj6-6f8f-6699
Jinja has a sandbox breakout through malicious filenames
-
OESA-2025-1004
python-jinja2 security update
-
OESA-2025-1005
python-jinja2 security update
-
OESA-2025-1006
python-jinja2 security update
-
OESA-2025-1007
python-jinja2 security update
-
OESA-2025-1008
python-jinja2 security update
-
OESA-2025-1030
python-jinja2 security update
-
PYSEC-2026-1472
Jinja has a sandbox breakout through malicious filenames
-
RHBA-2025:3029
Red Hat Bug Fix Advisory: Release of components for RHOSO 18.0.6 (Feature Release 2)
-
RHEA-2024:6126
Red Hat Enhancement Advisory: OpenShift Container Platform 4.18.1 packages and security update
-
RHSA-2025:0308
Red Hat Security Advisory: fence-agents security update
-
RHSA-2025:0335
Red Hat Security Advisory: fence-agents security update
-
RHSA-2025:0338
Red Hat Security Advisory: fence-agents security update
-
RHSA-2025:0345
Red Hat Security Advisory: fence-agents security update
-
RHSA-2025:0656
Red Hat Security Advisory: OpenShift Container Platform 4.17.14 packages and security update
-
RHSA-2025:0721
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update
-
RHSA-2025:0777
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update
-
RHSA-2025:0830
Red Hat Security Advisory: OpenShift Container Platform 4.16.33 packages and security update
-
RHSA-2025:0834
Red Hat Security Advisory: OpenShift Container Platform 4.12.72 packages and security update
-
RHSA-2025:0842
Red Hat Security Advisory: OpenShift Container Platform 4.14.46 security update
-
RHSA-2025:1118
Red Hat Security Advisory: OpenShift Container Platform 4.13.55 packages and security update
-
RHSA-2025:1130
Red Hat Security Advisory: OpenShift Container Platform 4.15.45 packages and security update
-
RHSA-2025:1861
Red Hat Security Advisory: Red Hat OpenStack Platform 17.1.4 (openstack-ansible-core) security update
-
RHSA-2025:3491
Red Hat Security Advisory: Satellite 6.15.5.2 Async Update
-
RHVEX-CVE-2024-56201
jinja2: Jinja has a sandbox breakout through malicious filenames
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2024-56201.