{"id":"CVE-2021-28658","aliases":["BIT-django-2021-28658","GHSA-xgxc-v2qg-chmh","PYSEC-2021-6"],"url":"https://o3.security/vulnerability/CVE-2021-28658","summary":"Directory Traversal in Django","details":"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.","published":"2021-04-06T15:15:13.437Z","modified":"2026-07-08T05:57:00.472033615Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"PyPI","name":"django","fixedVersion":"2.2.20"},{"ecosystem":"PyPI","name":"django","fixedVersion":"3.0.14"},{"ecosystem":"PyPI","name":"django","fixedVersion":"3.1.8"}],"fix":null,"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/"},{"type":"ADVISORY","url":"https://docs.djangoproject.com/en/3.1/releases/security/"},{"type":"ADVISORY","url":"https://groups.google.com/g/django-announce/c/ePr5j-ngdPU"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/04/msg00008.html"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20210528-0001/"},{"type":"ADVISORY","url":"https://www.djangoproject.com/weblog/2021/apr/06/security-releases/"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T05:57:00.472033615Z"}}