Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-56326

published medium CVSS 4.0 · 5.4

Jinja has a sandbox breakout through indirect reference to format method

Published
23 Dec 2024, 15:43:49 UTC
Updated
03 Nov 2025, 19:32:16 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
pallets — jinja< 3.1.5 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluationALAS2-2025-2734 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2-2025-2735 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-810 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-811 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 python3-jinja2 Advisory build 2.10.1-6.el8_10 ALSA-2025:0711
Alpine Linux edge py3-jinja2 Fixed 3.1.5-r0 Package fix record
Debian bullseye jinja2 Advisory build 2.11.3-1+deb11u3 DLA-4126-1
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 7 python-jinja2x86_64 Advisory build 0:2.7.2-4.0.1.el7 ELSA-2025-1250
AlmaLinux 9 fence-agents-common Advisory build 4.10.0-76.el9_5.4.alma.1 ALSA-2025:0308
AlmaLinux 9 fence-agents-compute Advisory build 4.10.0-76.el9_5.4.alma.1 ALSA-2025:0308
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
AlmaLinux 9 python3-jinja2 Advisory build 2.11.3-7.el9_5 ALSA-2025:0667
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 8 python3-jinja2aarch64 Advisory build 0:2.10.1-6.el8_10 ELSA-2025-0711
Oracle Linux 8 python3-jinja2x86_64 Advisory build 0:2.10.1-6.el8_10 ELSA-2025-0711
Oracle Linux 9 fence-agents-allaarch64 Advisory build 0:4.10.0-76.el9_5.4 ELSA-2025-0308
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

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

Jinja is an extensible templating engine. Prior to 3.1.5, An oversight in how the Jinja sandboxed environment detects calls to str.format allows an attacker that controls the content of a template to execute arbitrary Python code. To exploit the vulnerability, an attacker needs to control the content 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. Jinja's sandbox does catch calls to str.format and ensures they don't escape the sandbox. However, it's possible to store a reference to a malicious string's format method, then pass that to a filter that calls it. No such filters are built-in to Jinja, but could be present through custom filters in an application. After the fix, such indirect calls are also handled by the sandbox. This vulnerability is fixed in 3.1.5.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

61

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

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.8 high CISA-ADP · adp CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
pallets jinja < 3.1.5 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-1336 CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine (GitHub_M · cna)
  • CWE-693 CWE-693: Protection Mechanism Failure (GitHub_M · cna)

References

4

Provider assertions

3

GitHub_M · cna

Jinja has a sandbox breakout through indirect reference to format method

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
ce08ab444844b0bd199db6b3bda0fc55da3f159615494fcb490f6b349e461c84
Ingested
23 Sep 2026, 08:31:43 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected