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 in Red Hat
-
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