VDB

CVE-2021-28658

CVE-2021-28658 PUBLISHED CVSS 5.300000190734863 MEDIUM

Directory Traversal in Django

Reported by mitre · Published April 6, 2021

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
djangoBitnami3.1.8, 3.0.14, 2.2.20
python-djangoUbuntu:18.04:LTS1:1.11.11-1ubuntu1.12

Risk scores

CVSS 3.1
5.300000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected products

VendorProductVersions
n/an/an/a
n/an/a*
PyPIDjango2.2a1, 3.0a1, 3.1a1
archpython-django0
alpinepy3-django0

Timeline

  • Apr 6, 2021 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Feb 4, 2026 CVE Updated
  • Mar 7, 2026 Distribution Patch
  • Mar 7, 2026 Security Advisory (2 in total, the first dated here)
  • Aug 5, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-28658
vulnetix vdb fixes CVE-2021-28658

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-2021-28658/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›