IsItPatchedInstant security status for any software version
← All products

CVE-2021-3281

MEDIUM severity · CVSS 5.3 · Path traversal
5.3CVSS MEDIUM

Summary

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.

Impact & exploitability

Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
Confidentiality impactNone
Integrity impactLow
Availability impactNone
Exploit probability (EPSS)41%

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

Affected products we track (1)

Recommendation

Apply the vendor fix in your normal patch cycle. Open any affected product above for its exact safe version.

Official patch: https://docs.djangoproject.com/en/3.1/releases/security/ ↗

Last checked: Wed, 10 Jun 2026 22:18:30 UTC