Back
CVE-2021-28658
In Django 2.2 before 2.2.20, 3.0 before 3.0.14, and 3.1 before 3.1.8, MultiPartParser allowed directory traversal via uploaded files with…
Medium5.3EPSS 3.8%
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
In Django 2.2 before 2.2.20, 3.0 before 3.0.14, and 3.1 before 3.1.8, MultiPartParser allowed directory traversal via uploaded files with suitably crafted file names. Built-in upload handlers were not affected by this vulnerability.
Timeline
ID reserved
By mitre
- 20 days later
· 20 days later
Published
- 3 years later
· 3 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:L/I:N/A:N |
- EPSS (exploitation in 30 days)
- 3.8% · top 10% of all CVEs (8 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.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIDjangoGHSA-xgxc-v2qg-chmh (opens in a new tab)
References (6)
- https://docs.djangoproject.com/en/3.1/releases/security/ (opens in a new tab)x_refsource_MISCx_transferred
- https://groups.google.com/g/django-announce/c/ePr5j-ngdPU (opens in a new tab)x_refsource_MISCx_transferred
- https://www.djangoproject.com/weblog/2021/apr/06/security-releases/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- [debian-lts-announce] 20210409 [SECURITY] [DLA 2622-1] python-django security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- FEDORA-2021-01044b8a59 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- https://security.netapp.com/advisory/ntap-20210528-0001/ (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)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-xgxc-v2qg-chmh (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-28658)Record last updated .