Live threats

All CVEs / Palletsprojects

CVE-2019-10906Palletsprojects Jinja

High 8.6 No auth needed

Priority
67
CVSS 3.1
8.6
EPSS
3.6%
probability of exploitation in 30 days · percentile 90
Auth required
No
Published
Apr 7, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

What happens

In Pallets Jinja before 2.10.1, str.format_map allows a sandbox escape.

Original NVD text.

What to do

  1. Apply the vendor's security update for Jinja.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI jinja2 < 2.10.1 2.10.1 pip install "jinja2>=2.10.1"
PyPI jinja2 < 2.10.1 2.10.1 pip install "jinja2>=2.10.1"

Per OSV / GitHub Advisories (GHSA-462w-v97r-4m45, PYSEC-2019-217). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
palletsprojectsjinja< 2.10.1
fedoraprojectfedora28
fedoraprojectfedora29
fedoraprojectfedora30
canonicalubuntu_linux12.04
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux18.04
canonicalubuntu_linux18.10
canonicalubuntu_linux19.04
redhatsoftware_collections1.0
opensuseleap15.0
opensuseleap42.3

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.