Jinja has a sandbox breakout through malicious filenames
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| pallets | jinja | affected |
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Ansible Automation Platform Execution Environments | |||
| ansible-automation-platform/ee-minimal-rhel8:2.14.13-24 | cpe:/a:redhat:ansible_automation_platform:ee::el8 | RHSA-2025:0753 | 2025-01-28T00:00:00Z |
| ansible-automation-platform/ee-minimal-rhel9:2.18.1-4 | cpe:/a:redhat:ansible_automation_platform:ee::el8 | RHSA-2025:0753 | 2025-01-28T00:00:00Z |
| ansible-automation-platform/ee-minimal-rhel8:2.16.14-8 | cpe:/a:redhat:ansible_automation_platform:ee::el8 | RHSA-2025:1101 | 2025-02-05T00:00:00Z |
| ansible-automation-platform/ee-minimal-rhel9:2.15.13-10 | cpe:/a:redhat:ansible_automation_platform:ee::el8 | RHSA-2025:1101 | 2025-02-05T00:00:00Z |
| Discovery 1 for RHEL 9 | |||
| discovery/discovery-server-rhel9:1.12.0-1 | cpe:/o:redhat:discovery:1.0::el9 | RHSA-2025:1249 | 2025-02-10T00:00:00Z |
| discovery/discovery-ui-rhel9:1.12.0-1 | cpe:/o:redhat:discovery:1.0::el9 | RHSA-2025:1249 | 2025-02-10T00:00:00Z |
| Ironic content for Red Hat OpenShift Container Platform 4.12 | |||
| python-jinja2-0:3.0.1-6.el9.2 | cpe:/a:redhat:openshift_ironic:4.12::el9 | RHSA-2025:0834 | 2025-02-06T00:00:00Z |
| Ironic content for Red Hat OpenShift Container Platform 4.13 | |||
| python-jinja2-0:3.0.1-6.el9.2 | cpe:/a:redhat:openshift_ironic:4.13::el9 | RHSA-2025:1118 | 2025-02-13T00:00:00Z |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | |||
| automation-controller-0:4.5.17-1.el8ap | cpe:/a:redhat:ansible_automation_platform:2.4::el8 | RHSA-2025:0721 | 2025-01-27T00:00:00Z |
| python3x-jinja2-0:3.1.5-1.el8ap | cpe:/a:redhat:ansible_automation_platform:2.4::el8 | RHSA-2025:0721 | 2025-01-27T00:00:00Z |
| ansible-automation-platform-24/lightspeed-rhel8-operator:2.4-33 | cpe:/a:redhat:ansible_automation_platform:2.4::el8 | RHSA-2025:0722 | 2025-01-27T00:00:00Z |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | |||
| automation-controller-0:4.5.17-1.el9ap | cpe:/a:redhat:ansible_automation_platform:2.4::el9 | RHSA-2025:0721 | 2025-01-27T00:00:00Z |
| python-jinja2-0:3.1.5-1.el9ap | cpe:/a:redhat:ansible_automation_platform:2.4::el9 | RHSA-2025:0721 | 2025-01-27T00:00:00Z |
| Red Hat Ansible Automation Platform 2.5 for RHEL 8 | |||
| ansible-automation-platform-25/lightspeed-rhel8:2.5.250107-1 | cpe:/a:redhat:ansible_automation_platform:2.5::el8 | RHSA-2025:0341 | 2025-01-15T00:00:00Z |
| automation-controller-0:4.6.7-1.el8ap | cpe:/a:redhat:ansible_automation_platform:2.5::el8 | RHSA-2025:0777 | 2025-01-28T00:00:00Z |
| python3.11-jinja2-0:3.1.5-1.el8ap | cpe:/a:redhat:ansible_automation_platform:2.5::el8 | RHSA-2025:0777 | 2025-01-28T00:00:00Z |
| Red Hat Ansible Automation Platform 2.5 for RHEL 9 | |||
| automation-controller-0:4.6.7-1.el9ap | cpe:/a:redhat:ansible_automation_platform:2.5::el9 | RHSA-2025:0777 | 2025-01-28T00:00:00Z |
| python3.11-jinja2-0:3.1.5-1.el9ap | cpe:/a:redhat:ansible_automation_platform:2.5::el9 | RHSA-2025:0777 | 2025-01-28T00:00:00Z |
| Red Hat Developer Hub 1.3 on RHEL 9 | |||
| rhdh-hub-container-1.3-138 | cpe:/a:redhat:rhdh:1.3::el9 | RHBA-2025:0610 | 2025-01-22T00:00:00Z |
| Red Hat Enterprise Linux 9 | |||
| fence-agents-0:4.10.0-76.el9_5.4 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2025:0308 | 2025-01-14T00:00:00Z |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | |||
| fence-agents-0:4.10.0-20.el9_0.20 | cpe:/a:redhat:rhel_e4s:9.0 | RHSA-2025:0345 | 2025-01-15T00:00:00Z |
| Red Hat Enterprise Linux 9.2 Extended Update Support | |||
| fence-agents-0:4.10.0-43.el9_2.11 | cpe:/a:redhat:rhel_eus:9.2 | RHSA-2025:0335 | 2025-01-15T00:00:00Z |
| Red Hat Enterprise Linux 9.4 Extended Update Support | |||
| fence-agents-0:4.10.0-62.el9_4.10 | cpe:/a:redhat:rhel_eus:9.4 | RHSA-2025:0338 | 2025-01-15T00:00:00Z |
| Red Hat OpenShift Container Platform 4.14 | |||
| python-jinja2-0:3.0.1-6.el9.2 | cpe:/a:redhat:openshift_ironic:4.14::el9 | RHSA-2025:0842 | 2025-02-06T00:00:00Z |
| Red Hat OpenShift Container Platform 4.15 | |||
| python-jinja2-0:3.0.1-6.el9.2 | cpe:/a:redhat:openshift_ironic:4.15::el9 | RHSA-2025:1130 | 2025-02-12T00:00:00Z |
| Red Hat OpenShift Container Platform 4.16 | |||
| openshift4/ose-ansible-rhel9-operator:v4.16.0-202501311735.p0.g2cb0020.assembly.stream.el9 | cpe:/a:redhat:openshift:4.16::el9 | RHSA-2025:1123 | 2025-02-12T00:00:00Z |
| python-jinja2-0:3.0.1-6.el9.2 | cpe:/a:redhat:openshift_ironic:4.16::el9 | RHSA-2025:0830 | 2025-02-10T00:00:00Z |
| Red Hat OpenShift Container Platform 4.17 | |||
| openshift4/ose-ansible-rhel9-operator:v4.17.0-202501300634.p0.g9cb5839.assembly.stream.el9 | cpe:/a:redhat:openshift:4.17::el9 | RHSA-2025:0875 | 2025-02-05T00:00:00Z |
| python-jinja2-0:3.1.5-1.el9 | cpe:/a:redhat:openshift_ironic:4.17::el9 | RHSA-2025:0656 | 2025-01-28T00:00:00Z |
| Red Hat OpenStack Platform 17.1 for RHEL 9 | |||
| openstack-ansible-core-0:2.14.2-4.6.el9ost | cpe:/a:redhat:openstack:17.1::el9 | RHSA-2025:1861 | 2025-02-25T00:00:00Z |
| Red Hat Satellite 6.15 for RHEL 8 | |||
| python-jinja2-0:3.1.5-1.el8pc | cpe:/a:redhat:satellite:6.15::el8 | RHSA-2025:3491 | 2025-04-01T00:00:00Z |
| python-jinja2-0:3.1.5-1.el8pc | cpe:/a:redhat:satellite_capsule:6.15::el8 | RHSA-2025:3491 | 2025-04-01T00:00:00Z |
| Red Hat Developer Hub (RHDH) 1.4 | |||
| registry.redhat.io/rhdh/rhdh-hub-rhel9:sha256:d8268197ba0466643efb818fcad8f0fc29e32463f75b0f7f51d9ce75ec717572 | cpe:/a:redhat:rhdh:1.4::el9 | RHBA-2025:0409 | 2025-01-20T00:00:00Z |
| Red Hat OpenShift AI 2.16 | |||
| registry.redhat.io/rhoai/odh-model-registry-rhel8:sha256:de5f91180ead7d73a1825fe8b032fde9b8b01392569c9789f5ce1b4b9c08a98f | cpe:/a:redhat:openshift_ai:2.16::el8 | RHSA-2025:3368 | 2025-03-27T00:00:00Z |
| registry.redhat.io/rhoai/odh-model-registry-rhel8:sha256:de5f91180ead7d73a1825fe8b032fde9b8b01392569c9789f5ce1b4b9c08a98f | cpe:/a:redhat:openshift_ai:2.16::el8 | RHSA-2025:3397 | 2025-03-31T00:00:00Z |
| RHDH 1.5 | |||
| registry.redhat.io/rhdh/rhdh-hub-rhel9:sha256:56bfbb2328f42e91d0462e142f3434e5d771737defbc07d8a21dbdf50e468665 | cpe:/a:redhat:rhdh:1.5::el9 | RHSA-2025:3374 | 2025-03-27T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2024-3585 | 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. |
Github GHSA |
GHSA-gmj6-6f8f-6699 | Jinja has a sandbox breakout through malicious filenames |
Ubuntu USN |
USN-7244-1 | Jinja2 vulnerabilities |
Ubuntu USN |
USN-7343-1 | Jinja2 vulnerabilities |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.307% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Palletsprojects
Palletsprojects jinja |
|
| CPEs | cpe:2.3:a:palletsprojects:jinja:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Palletsprojects
Palletsprojects jinja |
|
| Metrics |
cvssV3_1
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat satellite
Redhat satellite Capsule |
|
| CPEs | cpe:/a:redhat:satellite:6.15::el8 cpe:/a:redhat:satellite_capsule:6.15::el8 |
|
| Vendors & Products |
Redhat satellite
Redhat satellite Capsule |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat openshift Ai
|
|
| CPEs | cpe:/a:redhat:openshift_ai:2.16::el8 cpe:/a:redhat:rhdh:1.5::el9 |
|
| Vendors & Products |
Redhat openshift Ai
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat openstack
|
|
| CPEs | cpe:/a:redhat:openstack:17.1::el9 | |
| Vendors & Products |
Redhat openstack
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:openshift_ironic:4.13::el9 cpe:/a:redhat:rhdh:1.4::el9 |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat
Redhat ansible Automation Platform Redhat discovery Redhat enterprise Linux Redhat openshift Redhat openshift Ironic Redhat rhdh Redhat rhel E4s Redhat rhel Eus |
|
| CPEs | cpe:/a:redhat:ansible_automation_platform:2.4::el8 cpe:/a:redhat:ansible_automation_platform:2.4::el9 cpe:/a:redhat:ansible_automation_platform:2.5::el8 cpe:/a:redhat:ansible_automation_platform:2.5::el9 cpe:/a:redhat:ansible_automation_platform:ee::el8 cpe:/a:redhat:enterprise_linux:9 cpe:/a:redhat:openshift:4.16::el9 cpe:/a:redhat:openshift:4.17::el9 cpe:/a:redhat:openshift_ironic:4.12::el9 cpe:/a:redhat:openshift_ironic:4.14::el9 cpe:/a:redhat:openshift_ironic:4.15::el9 cpe:/a:redhat:openshift_ironic:4.16::el9 cpe:/a:redhat:openshift_ironic:4.17::el9 cpe:/a:redhat:rhdh:1.3::el9 cpe:/a:redhat:rhel_e4s:9.0 cpe:/a:redhat:rhel_eus:9.2 cpe:/a:redhat:rhel_eus:9.4 cpe:/o:redhat:discovery:1.0::el9 |
|
| Vendors & Products |
Redhat
Redhat ansible Automation Platform Redhat discovery Redhat enterprise Linux Redhat openshift Redhat openshift Ironic Redhat rhdh Redhat rhel E4s Redhat rhel Eus |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Jinja is an extensible templating engine. 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. | 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. |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Jinja is an extensible templating engine. 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. | |
| Title | Jinja has a sandbox breakout through malicious filenames | |
| Weaknesses | CWE-150 | |
| References |
| |
| Metrics |
cvssV4_0
|