VDB
CVE-2014-1402
CVE-2014-1402
PUBLISHED
CVSS 8.399999618530273 HIGH
Incorrect Privilege Assignment in Jinja2
Reported by mitre · Published May 19, 2014
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 /tmp.
Risk scores
CVSS 3.1
8.399999618530273
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| PyPI | Jinja2 | 0 |
| n/a | n/a | * |
Timeline
- May 19, 2014 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Jul 16, 2025 CVE Rejected
- Jul 16, 2025 CVE Updated
- Mar 5, 2026 Distribution Patch
- Mar 5, 2026 Security Advisory (2 in total, the first dated here)
- Oct 20, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2014-1402
vulnetix vdb fixes CVE-2014-1402
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2014-1402/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [El-errata] 20140611 Oracle Linux Security Advisory ELSA-2014-0747 mailing-listx_refsource_MLIST
- [oss-security] 20140110 Re: CVE Request: python-jinja2: arbitrary code execution vulnerability mailing-listx_refsource_MLIST
- 59017 third-party-advisoryx_refsource_SECUNIA
- 56287 third-party-advisoryx_refsource_SECUNIA
- MDVSA-2014:096 vendor-advisoryx_refsource_MANDRIVA
- 58783 third-party-advisoryx_refsource_SECUNIA
- 58918 third-party-advisoryx_refsource_SECUNIA
- 60738 third-party-advisoryx_refsource_SECUNIA
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- 60770 third-party-advisoryx_refsource_SECUNIA
- RHSA-2014:0747 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- GLSA-201408-13 vendor-advisoryx_refsource_GENTOO
- [oss-security] 20140110 CVE Request: python-jinja2: arbitrary code execution vulnerability mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- RHSA-2014:0748 vendor-advisoryx_refsource_REDHAT
- https://nvd.nist.gov/vuln/detail/CVE-2014-1402 advisory
- https://github.com/advisories/GHSA-8r7q-cvjq-x353 advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/jinja2/PYSEC-2014-8.yaml advisory
…and 1 more