Read the docs
TI-2014-00012 Aliases CVE-2014-0012GHSA-fqh9-2qgg-h84h

FileSystemBytecodeCache in Jinja2 2.7.2 does not properly create temporary directories…

Priority LOW 21CWE-264Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Medium
Impact type
Security bypass
Confidentiality · integrity · availability
Partial · Partial · Partial
Fix status
Fixed

Attack profile from CVSS 2.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-264.

Summary

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 incomplete fix for CVE-2014-1402.

Why it matters now

EPSS 0.0043 37th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed Jinja2 (PyPI): 2.7.2

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—Jinja2 (PyPI)before 2.7.22.7.2Patch availableGHSA-fqh9-2qgg-h84h
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • Jinja2 (PyPI) Vendor— Affected before 2.7.2 Fixed in 2.7.2 Patch available GHSA-fqh9-2qgg-h84h

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:pocoo:jinja2:2.7.2:*:*:*:*:*:*:*2.7.2VulnerablePocoo
  • cpe:2.3:a:pocoo:jinja2:2.7.2:*:*:*:*:*:*:* Versions 2.7.2 Vulnerable ·Pocoo

Remediation

  • Fix · GHSA-fqh9-2qgg-h84h Jinja2 (PyPI) Fixed in 2.7.2 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

Not affected: 4 products
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat OpenStack Platform 4
  • Red Hat Software Collections

Timeline

  1. 2026-10-02 Threatist record created from CVE-2014-0012
  2. 2026-10-03 Alias added: GHSA-fqh9-2qgg-h84h

References

  • TI-2019-05986 An issue was discovered in Jinja2 2.10. CVSS 3.1CRITICAL 9.8
  • TI-2014-01089 The default configuration for bccache.FileSystemBytecodeCache in Jinja2 before 2.7.2 does… CVSS 2.0MEDIUM 4.4

Sources