Back
CVE-2021-3281In Django 2.2 before 2.2.18, 3.0 before 3.0.12, and 3.1 before 3.1.6, the django.utils.archive.extract method (used by "startapp…
- 5.3MediumCVSS base score
- 7.6%Exploitation in 30 daysEPSS · top 5.4% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In Django 2.2 before 2.2.18, 3.0 before 3.0.12, and 3.1 before 3.1.6, the django.utils.archive.extract method (used by "startapp --template" and "startproject --template") allows directory traversal via an archive with absolute paths or relative paths with dot segments.
Timeline
ID reserved
By mitre
- 11 days later
· 11 days later
Published
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
- EPSS (exploitation in 30 days)
- 7.6% · top 5.4% of all CVEs (12 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIDjangoGHSA-fvgf-6h6h-3322 (opens in a new tab)
References
References5
- https://groups.google.com/forum/#%21forum/django-announce (opens in a new tab)x_refsource_MISCx_transferred
- https://docs.djangoproject.com/en/3.1/releases/security/ (opens in a new tab)x_refsource_MISCx_transferred
- https://www.djangoproject.com/weblog/2021/feb/01/security-releases/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- FEDORA-2021-5329c680f7 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- https://security.netapp.com/advisory/ntap-20210226-0004/ (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-0066 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-fvgf-6h6h-3322 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-3281)Record last updated .