{"cve":"CVE-2021-28658","nvd":{"published":"2021-04-06T15:15:13.437","modified":"2026-06-17T03:46:43.290","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3},"cwes":["CWE-22"],"references":["https://docs.djangoproject.com/en/3.1/releases/security/","https://groups.google.com/g/django-announce/c/ePr5j-ngdPU","https://lists.debian.org/debian-lts-announce/2021/04/msg00008.html","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/","https://security.netapp.com/advisory/ntap-20210528-0001/"],"products":["debian:debian_linux","djangoproject:django","fedoraproject:fedora"],"source":"nvd","synced_at":"2026-10-19T21:17:01.373894544+00:00"},"epss":{"cve":"CVE-2021-28658","score":0.03761,"percentile":0.89902,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-xgxc-v2qg-chmh","url":"https://osv.dev/vulnerability/GHSA-xgxc-v2qg-chmh","summary":"Directory Traversal in Django","modified":"2024-09-20T16:08:04.482170Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=2.2a1 <2.2.20"],"fixed":["2.2.20"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=3.0a1 <3.0.14"],"fixed":["3.0.14"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=3.1a1 <3.1.8"],"fixed":["3.1.8"]}]},{"id":"PYSEC-2021-6","url":"https://osv.dev/vulnerability/PYSEC-2021-6","summary":"","modified":"2023-12-06T01:01:01.677077Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=2.2 <2.2.20",">=3.0 <3.0.14",">=3.1 <3.1.8"],"fixed":["2.2.20","3.0.14","3.1.8"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}