CVE-2025-59682An issue was discovered in Django 4.2 before 4.2.25, 5.1 before 5.1.13, and 5.2 before 5.2.7. The django.utils.archive.extract() function,…
- 3.1LowCVSS base score
- 0.97%Exploitation in 30 daysEPSS · top 38% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
An issue was discovered in Django 4.2 before 4.2.25, 5.1 before 5.1.13, and 5.2 before 5.2.7. The django.utils.archive.extract() function, used by the "startapp --template" and "startproject --template" commands, allows partial directory traversal via an archive with file paths sharing a common prefix with the target directory.
Timeline
ID reserved
By mitre
- 13 days later
· 13 days later
Published
- 34 days later
· 34 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| mitreCNA (assigner) | 3.1 | Low3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVDNVD · Modified | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.97% · top 38% of all CVEs (14 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.1.
Affected products
- affected 4.2 – < 4.2.25
- affected 5.1 – < 5.1.13
- affected 5.2 – < 5.2.7
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIdjangoGHSA-q95w-c7qg-hrff (opens in a new tab)
References
References4
- https://docs.djangoproject.com/en/dev/releases/security/ (opens in a new tab)
- https://groups.google.com/g/django-announce (opens in a new tab)
- https://www.djangoproject.com/weblog/2025/oct/01/security-releases/ (opens in a new tab)
- http://www.openwall.com/lists/oss-security/2025/10/01/3 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-32692 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-q95w-c7qg-hrff (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-59682)Record last updated .