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.
Published:Dec 23, 2024
Last Modified:Sep 22, 2025
EPS:Dec 23, 2024
EPSS Score:0.00025
CVSS Score:8.8
Affected Products
Vendor
Product
Action
Vendor
Palletsprojects
Product
Jinja
Palletsprojects
Jinja
Vendor
Redhat
Product
Ansible Automation Platform
Redhat
Ansible Automation Platform
Vendor
Redhat
Product
Discovery
Redhat
Discovery
Vendor
Redhat
Product
Enterprise Linux
Redhat
Enterprise Linux
Vendor
Redhat
Product
Openshift
Redhat
Openshift
Vendor
Redhat
Product
Openshift Ai
Redhat
Openshift Ai
Vendor
Redhat
Product
Openshift Ironic
Redhat
Openshift Ironic
Vendor
Redhat
Product
Openstack
Redhat
Openstack
Vendor
Redhat
Product
Rhdh
Redhat
Rhdh
Vendor
Redhat
Product
Rhel E4s
Redhat
Rhel E4s
Vendor
Redhat
Product
Rhel Eus
Redhat
Rhel Eus
Vendor
Redhat
Product
Satellite
Redhat
Satellite
Vendor
Redhat
Product
Satellite Capsule
Redhat
Satellite Capsule
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
