jinja2
PyPI11 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting jinja2page 1 of 1
- CVE-2014-0012NONECVSS 0.0EG 0.0✓ Fixed in 2.7.32014-05-19
vulnerable: 2.0 ... 2.7.2 (20 versions)
FileSystemBytecodeCache in Jinja2 2.7.2 does not properly create temporary directories, which allows local users to gain privileges by pre-creating a temporary directory with a user's uid. NOTE: this vulnerability exists because of an inc…
- CVE-2014-1402NONECVSS 0.0EG 0.0✓ Fixed in 2.7.22014-05-19
vulnerable: 2.0 ... 2.7.1 (19 versions)
The default configuration for bccache.FileSystemBytecodeCache in Jinja2 before 2.7.2 does not properly create temporary files, which allows local users to gain privileges via a crafted .cache file with a name starting with __jinja2_ in /tm…
- CVE-2016-10745HIGHCVSS 8.6EG 8.6✓ Fixed in 2.8.12019-04-08
vulnerable: 2.0 ... 2.8 (22 versions)
In Pallets Jinja before 2.8.1, str.format allows a sandbox escape.
- CVE-2019-10906HIGHCVSS 8.6EG 8.6✓ Fixed in 2.10.12019-04-07
vulnerable: 2.0 ... 2.9.6 (31 versions)
In Pallets Jinja before 2.10.1, str.format_map allows a sandbox escape.
- CVE-2020-28493MEDIUMCVSS 5.3EG 5.3✓ Fixed in 2.11.32021-02-01
vulnerable: 2.0rc1 ... 2.11.2 (37 versions)
This affects the package jinja2 from 0.0.0 and before 2.11.3. The ReDoS vulnerability is mainly due to the `_punctuation_re regex` operator and its use of multiple wildcards. The last wildcard is the most exploitable as it searches for tra…
- CVE-2024-22195MEDIUMCVSS 5.4EG 5.4✓ Fixed in 3.1.32024-01-11
vulnerable: 2.0 ... 3.1.2 (48 versions)
Jinja is an extensible templating engine. Special placeholders in the template allow writing code similar to Python syntax. It is possible to inject arbitrary HTML attributes into the rendered HTML template, potentially leading to Cross-Si…
- CVE-2024-34064MEDIUMCVSS 5.4EG 5.4✓ Fixed in 3.1.42024-05-06
vulnerable: 2.0 ... 3.1.3 (49 versions)
Jinja is an extensible templating engine. The `xmlattr` filter in affected versions of Jinja accepts keys containing non-attribute characters. XML/HTML attributes cannot contain spaces, `/`, `>`, or `=`, as each would then be interpreted a…
- CVE-2024-56201HIGHCVSS 8.8EG 8.8✓ Fixed in 3.1.52024-12-23
vulnerable: 3.0.0 ... 3.1.4 (9 versions)
Jinja is an extensible templating engine. In versions on the 3.x branch prior to 3.1.5, a bug in the Jinja compiler allows an attacker that controls both the content and filename of a template to execute arbitrary Python code, regardless o…
- CVE-2024-56326HIGHCVSS 7.8EG 7.8✓ Fixed in 3.1.52024-12-23
vulnerable: 2.0 ... 3.1.4 (50 versions)
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 explo…
- CVE-2025-27516HIGHCVSS 8.8EG 8.8✓ Fixed in 3.1.62025-03-05
vulnerable: 2.0 ... 3.1.5 (51 versions)
Jinja is an extensible templating engine. Prior to 3.1.6, an oversight in how the Jinja sandboxed environment interacts with the |attr filter allows an attacker that controls the content of a template to execute arbitrary Python code. To e…
- CVE-2025-49142HIGHCVSS 7.1EG 0.02025-06-10
Nautobot is a Network Source of Truth and Network Automation Platform. All users of Nautobot versions prior to 2.4.10 or prior to 1.6.32 are potentially affected. Due to insufficient security configuration of the Jinja2 templating feature …
Check whether jinja2 is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for jinja2 CVEs against the assets you own.
Start Free Scan →