CVE-2024-56326
Jinja has a sandbox breakout through indirect reference to format method
02 Description
Jinja has a sandbox breakout through indirect reference to format method
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 0.52% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 43.9% of scored records. A rank, not a probability.
- NVD base score
- 5.4 (CVSS v4.0), scored by the NVD independently of the CNA.
- NVD CVSS vector
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2024-12-23 15:43Z1 YR AGO
- Last updated
- 2025-11-03 19:32Z11 MO AGO
- Reserved
- 2024-12-19
- Assigning CNA
- GitHub_M
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 5.4)
- CNA CVSS vector
- 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
- Weaknesses
- Data version
- 5.2
- Document digest
- bed9ed813c57f3935da0ebc7972340a016cb51ffda09a66b08aed5b3a7aca2ad
05 Affected products
06 References
- github.comhttps://github.com/pallets/jinja/security/advisories/GHSA-q2x7-8rv6-6q7h
- github.comhttps://github.com/pallets/jinja/commit/48b0687e05a5466a91cd5812d604fa37ad0943b4
- github.comhttps://github.com/pallets/jinja/releases/tag/3.1.5
- lists.debian.orghttps://lists.debian.org/debian-lts-announce/2025/04/msg00022.html
07 Fixed in
AlmaLinux 8
- python3-jinja2 Fixed in 2.10.1-6.el8_10
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 9
- fence-agents-common Fixed in 4.10.0-76.el9_5.4.alma.1
- fence-agents-compute Fixed in 4.10.0-76.el9_5.4.alma.1
- fence-agents-ibm-powervs Fixed in 4.10.0-76.el9_5.4.alma.1
- fence-agents-ibm-vpc Fixed in 4.10.0-76.el9_5.4.alma.1
- fence-agents-kubevirt Fixed in 4.10.0-76.el9_5.4.alma.1
- fence-agents-virsh Fixed in 4.10.0-76.el9_5.4.alma.1
- fence-virt Fixed in 4.10.0-76.el9_5.4.alma.1
- fence-virtd Fixed in 4.10.0-76.el9_5.4.alma.1
- fence-virtd-cpg Fixed in 4.10.0-76.el9_5.4.alma.1
- fence-virtd-libvirt Fixed in 4.10.0-76.el9_5.4.alma.1
- fence-virtd-multicast Fixed in 4.10.0-76.el9_5.4.alma.1
- fence-virtd-serial Fixed in 4.10.0-76.el9_5.4.alma.1
- fence-virtd-tcp Fixed in 4.10.0-76.el9_5.4.alma.1
- python3-jinja2 Fixed in 2.11.3-7.el9_5
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- python3-jinja2 Fixed in 2.10.1-6.el8_10
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- fence-agents-common Fixed in 4.10.0-76.el9_5.4.alma.1
- fence-agents-compute Fixed in 4.10.0-76.el9_5.4.alma.1
- fence-agents-ibm-powervs Fixed in 4.10.0-76.el9_5.4.alma.1
- fence-agents-ibm-vpc Fixed in 4.10.0-76.el9_5.4.alma.1
- fence-agents-kubevirt Fixed in 4.10.0-76.el9_5.4.alma.1
- fence-agents-virsh Fixed in 4.10.0-76.el9_5.4.alma.1
- fence-virt Fixed in 4.10.0-76.el9_5.4.alma.1
- fence-virtd Fixed in 4.10.0-76.el9_5.4.alma.1
- fence-virtd-cpg Fixed in 4.10.0-76.el9_5.4.alma.1
- fence-virtd-libvirt Fixed in 4.10.0-76.el9_5.4.alma.1
- fence-virtd-multicast Fixed in 4.10.0-76.el9_5.4.alma.1
- fence-virtd-serial Fixed in 4.10.0-76.el9_5.4.alma.1
- fence-virtd-tcp Fixed in 4.10.0-76.el9_5.4.alma.1
- python3-jinja2 Fixed in 2.11.3-7.el9_5
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- jinja2 Fixed in 3.1.2-1+deb12u2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- jinja2 Fixed in 3.1.5-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- jinja2 Fixed in 3.1.5-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- jinja2 Fixed in 2.10.1-2ubuntu0.4
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- jinja2 Fixed in 3.0.3-1ubuntu0.3
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- jinja2 Fixed in 3.1.2-1ubuntu1.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- jinja2 Fixed in 2.7.2-2ubuntu0.1~esm6Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- jinja2 Fixed in 2.8-1ubuntu0.1+esm5Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- jinja2 Fixed in 2.10-1ubuntu0.18.04.1+esm3Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.