Skip to main content
VulnerabilityPublished Updated

CVE-2024-56201: jinja2 vulnerabilities

Affects jinja2Source GCVE Database

0
Compare

Mentioned vulnerabilities

Not known to be exploited · fixed in 2.10-1ubuntu0.18.04.1+esm3 : update jinja2 when convenient.

Data as of 24 Nov 2026, 17:24 UTC

Severity
Unrated

Rated by Threat Radar · No CVSS score from NVD or the CNA

Patch
Available – fixed in 2.10-1ubuntu0.18.04.1+esm3, 2.10.1-2ubuntu0.4, 3.0.3-1ubuntu0.3 +1

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Jan 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSjinja2pkg:deb/ubuntu/jinja2?arch=source&distro=nobleOther threatsAffected
  • <3.1.2-1ubuntu1.2
Fixed in
  • 3.1.2-1ubuntu1.2
Ubuntu 22.04 LTSjinja2pkg:deb/ubuntu/jinja2?arch=source&distro=jammyOther threatsAffected
  • <3.0.3-1ubuntu0.3
Fixed in
  • 3.0.3-1ubuntu0.3
Ubuntu 20.04 LTSjinja2pkg:deb/ubuntu/jinja2?arch=source&distro=focalOther threatsAffected
  • <2.10.1-2ubuntu0.4
Fixed in
  • 2.10.1-2ubuntu0.4
Ubuntu Pro 18.04 LTSjinja2pkg:deb/ubuntu/jinja2?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <2.10-1ubuntu0.18.04.1+esm3
Fixed in
  • 2.10-1ubuntu0.18.04.1+esm3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

It was discovered that Jinja2 incorrectly handled certain filenames when compiling template content. An attacker could possibly use this issue to execute arbitrary code. (CVE-2024-56201) It was discovered that Jinja2 incorrectly handled string formatting calls. An attacker could possibly use this issue to execute arbitrary code. (CVE-2024-56326)

References

Community reviews

Loading reviews…