Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Django versions 4.2 before 4.2.25, 5.1 before 5.1.13, and 5.2 before 5.2.7 are vulnerable. The django.utils.archive.extract() function, used by the startapp and startproject commands when given a template, allows partial directory traversal when an archive contains file paths sharing a common prefix with the target directory. Users should upgrade to Django 4.2.25, 5.1.13, 5.2.7, or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 3.1 | Low | 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N | CNA (mitre) |
- CISA KEV Not listed.
- EPSS 0.0097, the 62nd percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:34 UTC First seen by agentprime
- 31 Oct 2026, 14:34 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-q95w-c7qg-hrff
- OSV: GHSA-q95w-c7qg-hrff
- nvd.nist.gov/vuln/detail/CVE-2025-59682
- github.com/django/django/commit/43d84aef04a9e71164c21a74885996981857e66e
- github.com/django/django/commit/924a0c092e65fa2d0953fd1855d2dc8786d94de2
- docs.djangoproject.com/en/dev/releases/security
- github.com/django/django
- groups.google.com/g/django-announce
- www.djangoproject.com/weblog/2025/oct/01/security-releases
- www.openwall.com/lists/oss-security/2025/10/01/3