CVE-2024-56201
published medium CVSS 4.0 · 5.4Jinja has a sandbox breakout through malicious filenames
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pallets | — | jinja>= 3.0.0, < 3.1.5 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-811 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 9 | fence-agents-common | Advisory build | 4.10.0-76.el9_5.4.alma.1 | ALSA-2025:0308 |
| Alpine Linux | edge | py3-jinja2 | Fixed | 3.1.5-r0 | Package fix record |
| Oracle Linux | 9 | fence-agents-allaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| AlmaLinux | 9 | fence-agents-compute | Advisory build | 4.10.0-76.el9_5.4.alma.1 | ALSA-2025:0308 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | fence-agents-ibm-powervs | Advisory build | 4.10.0-76.el9_5.4.alma.1 | ALSA-2025:0308 |
| AlmaLinux | 9 | fence-agents-ibm-vpc | Advisory build | 4.10.0-76.el9_5.4.alma.1 | ALSA-2025:0308 |
| AlmaLinux | 9 | fence-agents-kubevirt | Advisory build | 4.10.0-76.el9_5.4.alma.1 | ALSA-2025:0308 |
| AlmaLinux | 9 | fence-agents-virsh | Advisory build | 4.10.0-76.el9_5.4.alma.1 | ALSA-2025:0308 |
| AlmaLinux | 9 | fence-virt | Advisory build | 4.10.0-76.el9_5.4.alma.1 | ALSA-2025:0308 |
| AlmaLinux | 9 | fence-virtd | Advisory build | 4.10.0-76.el9_5.4.alma.1 | ALSA-2025:0308 |
| AlmaLinux | 9 | fence-virtd-cpg | Advisory build | 4.10.0-76.el9_5.4.alma.1 | ALSA-2025:0308 |
| AlmaLinux | 9 | fence-virtd-libvirt | Advisory build | 4.10.0-76.el9_5.4.alma.1 | ALSA-2025:0308 |
| AlmaLinux | 9 | fence-virtd-multicast | Advisory build | 4.10.0-76.el9_5.4.alma.1 | ALSA-2025:0308 |
| AlmaLinux | 9 | fence-virtd-serial | Advisory build | 4.10.0-76.el9_5.4.alma.1 | ALSA-2025:0308 |
| AlmaLinux | 9 | fence-virtd-tcp | Advisory build | 4.10.0-76.el9_5.4.alma.1 | ALSA-2025:0308 |
| Alpine Linux | v3.18 | py3-jinja2 | Fixed | 3.1.5-r0 | Package fix record |
| Alpine Linux | v3.19 | py3-jinja2 | Fixed | 3.1.5-r0 | Package fix record |
| Alpine Linux | v3.20 | py3-jinja2 | Fixed | 3.1.5-r0 | Package fix record |
| Alpine Linux | v3.21 | py3-jinja2 | Fixed | 3.1.5-r0 | Package fix record |
| Alpine Linux | v3.22 | py3-jinja2 | Fixed | 3.1.5-r0 | Package fix record |
| Alpine Linux | v3.23 | py3-jinja2 | Fixed | 3.1.5-r0 | Package fix record |
| Alpine Linux | v3.24 | py3-jinja2 | Fixed | 3.1.5-r0 | Package fix record |
| Oracle Linux | 9 | fence-agents-allx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-amt-wsaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-amt-wsx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-apcaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-apcx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-apc-snmpaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-apc-snmpx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-bladecenteraarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-bladecenterx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-brocadeaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-brocadex86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-cisco-mdsaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-cisco-mdsx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-cisco-ucsaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-cisco-ucsx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-commonaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-commonx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-computex86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-drac5aarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-drac5x86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-eaton-snmpaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-eaton-snmpx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-emersonaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-emersonx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-epsaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-epsx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-heuristics-pingaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-heuristics-pingx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-hpbladeaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-hpbladex86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-ibm-powervsaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-ibm-powervsx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-ibm-vpcaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-ibm-vpcx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-ibmbladeaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-ibmbladex86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-ifmibaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-ifmibx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-ilo-moonshotaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-ilo-moonshotx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-ilo-mpaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-ilo-mpx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-ilo-sshaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-ilo-sshx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-ilo2aarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-ilo2x86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-intelmodularaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-intelmodularx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-ipduaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-ipdux86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-ipmilanaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-ipmilanx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-kdumpaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-kdumpx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-kubevirtaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-kubevirtx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-lparaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-lparx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-mpathaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-mpathx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-redfishaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-redfishx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-rhevmaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-rhevmx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-rsaaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-rsax86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-rsbaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-rsbx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-sbdaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-sbdx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-scsiaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-scsix86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-virshaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-virshx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-vmware-restaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-vmware-restx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-vmware-soapaarch64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
| Oracle Linux | 9 | fence-agents-vmware-soapx86_64 | Advisory build | 0:4.10.0-76.el9_5.4 | ELSA-2025-0308 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pallets | jinja | >= 3.0.0, < 3.1.5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-150 CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences
References
4Provider assertions
2GitHub_M · cna
Jinja has a sandbox breakout through malicious filenames
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- dfe81cd982d5794b7cce0e58b4cc8f1511df729ab51e596364a91e01d152de4f
- Ingested
- 23 Sep 2026, 08:31:43 UTC
- Source record
- Official CVE record