Important: python-jinja2 security update

python-jinja2 Updated 02 Oct 2025

Summary

13/05/2019
N/A
Yes i
Critical
9.0

RLSA-2019:1152: Important: python-jinja2 security update. Affects python-jinja2 versions < 0:2.10.1-2.el8_0. Fixed in 0:2.10.1-2.el8_0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The python-jinja2 package contains Jinja2, a template engine written in pure Python. Jinja2 provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment.

Vulnerability Detail

The vulnerability (CVE-2019-10906) in python-jinja2 is related to the 'str.format_map' function, which allows for a sandbox escape. This vulnerability could potentially be exploited to execute arbitrary code or perform unauthorized actions within the sandboxed environment. The CVSS score for this vulnerability is 9.0, indicating a high severity.

How To Fix

Minimum fixed version

0:2.10.1-2.el8_0

This is the first release that contains the fix.

sudo dnf update python-jinja2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

In conclusion, the python-jinja2 package is affected by a high-severity vulnerability (CVE-2019-10906) that allows for a sandbox escape. It is crucial to update the package to the fixed version to mitigate the risk of arbitrary code execution or unauthorized actions within the sandboxed environment. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for python-jinja2 →

Share this vulnerability

FAQ

Python-jinja2 is a template engine written in pure Python, providing a non-XML syntax inspired by Django.

This vulnerability allows for a sandbox escape, potentially leading to the execution of arbitrary code or unauthorized actions within the sandboxed environment.

You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and it will provide real-time alerts for open-source vulnerabilities.

No specific workaround has been provided for this vulnerability. It is recommended to update the python-jinja2 package to the fixed version.

You can find more information about this vulnerability, including the impact, CVSS score, and related details, on the CVE page: CVE-2019-10906.

Related vulnerabilities

Recent vulnerabilities recorded for python-jinja2.

How To Fix

Minimum fixed version

0:2.10.1-2.el8_0

This is the first release that contains the fix.

sudo dnf update python-jinja2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback