Skip to content
OpenAdvisories
Medium USN-7244-1 2 CVEs

jinja2 vulnerabilities

Published Jan 30, 2025 · Updated Feb 10, 2026

Summary

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)

Fixed packages 4

ReleasePackageFixed in
Ubuntu · 20.04 LTS 20.04:LTS jinja2 2.10.1-2ubuntu0.4
Ubuntu · 22.04 LTS 22.04:LTS jinja2 3.0.3-1ubuntu0.3
Ubuntu · 24.04 LTS 24.04:LTS jinja2 3.1.2-1ubuntu1.2
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS jinja2 2.10-1ubuntu0.18.04.1+esm3

Vulnerabilities 2

References

  • report
    https://ubuntu.com/security/CVE-2024-56201
  • report
    https://ubuntu.com/security/CVE-2024-56326