Home / Pocoo / Jinja2 / CVE-2014-0012
CVE-2014-0012: is it exploited, and which versions of Pocoo Jinja2 are affected and fixed?
CVE-2014-0012 is an insecure temporary file vulnerability in Pocoo Jinja2. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:38 UTC). Affected: Jinja2 before 2.7.2 (GitHub advisory GHSA-fqh9-2qgg-h84h). Fixed in 2.7.2 (GitHub advisory GHSA-fqh9-2qgg-h84h). Severity: Medium (4.4, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:38 UTC, CVE record November 19, 2026, 07:19 UTC and NVD November 19, 2026, 08:47 UTC.
What is CVE-2014-0012?
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.
From the CVE record by redhat, last updated August 6, 2024, 08:58 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | Jinja2 | < 2.7.2 | 2.7.2 | GHSA-fqh9-2qgg-h84h |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 23, 2024. Summary: Insecure Temporary File in Jinja2.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| pocoo | jinja2 | 2.7.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 00:02 UTC.
How severe is CVE-2014-0012?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.4 | CVSS 2.0 | AV:L/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2014-0012 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.43% probability of exploitation activity in the next 30 days, percentile 39.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/mitsuhiko/jinja2/pull/292 x_refsource_MISC
- 56328 third-party-advisory, x_refsource_SECUNIA
- https://bugzilla.redhat.com/show_bug.cgi?id=1051421 x_refsource_MISC
- 60738 third-party-advisory, x_refsource_SECUNIA
- https://github.com/mitsuhiko/jinja2/commit/acb672b6a179567632e032f547582f30fa2f4aa7 x_refsource_MISC
- https://github.com/mitsuhiko/jinja2/pull/296 x_refsource_MISC
- GLSA-201408-13 vendor-advisory, x_refsource_GENTOO
- [oss-security] 20140110 CVE assignment for jinja2 mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- December 3, 2013
- Published
- May 19, 2014, 14:00 UTC
- CVE record updated
- August 6, 2024, 08:58 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 00:02 UTC
- Last checked
- CVE list November 19, 2026, 07:19 UTC; NVD November 19, 2026, 08:47 UTC; KEV December 3, 2026, 09:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Jinja2?
- Feb 15, 2019CVE-2019-8341 Pocoo Jinja2: code injection (remote code execution) disputed
- May 19, 2014CVE-2014-1402 Pocoo Jinja2: incorrect Privilege Assignment
Questions about CVE-2014-0012
Is CVE-2014-0012 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:38 UTC. FIRST's EPSS gives it a 0.43% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Pocoo Jinja2 are affected by CVE-2014-0012?
Jinja2 before 2.7.2, per the GitHub advisory GHSA-fqh9-2qgg-h84h. The tables above give every range the sources list.
Which version fixes CVE-2014-0012?
2.7.2, per the GitHub advisory GHSA-fqh9-2qgg-h84h. Check the vendor's advisory before you rely on it.
How severe is CVE-2014-0012?
Medium (4.4, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2014-0012?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.