In-app reader
__ CVE-2025-59682 Detail
** Modified After Enrichment **
This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.
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.
**CVSS Version 4.0
**CVSS Version 3.x
**CVSS Version 2.0
_
NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
_
CVSS 4.0 Severity and Vector Strings:
NIST: NVD
** ** N/A
NVD assessment not yet provided. _
CVSS 3.x Severity and Vector Strings:
NIST: NVD
Base Score: 6.5 MEDIUM
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N _
CNA: MITRE
Base Score: 3.1 LOW
Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N _
CVSS 2.0 Severity and Vector Strings:
NIST: NVD
Base Score: N/A
NVD assessment not yet provided. _
By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].
URL Source(s) Tag(s)
http://www.openwall.com/lists/oss-security/2025/10/01/3
CVE
https://docs.djangoproject.com/en/dev/releases/security/
MITRE
Vendor Advisory
https://groups.google.com/g/django-announce
MITRE
Release Notes
Vendor Advisory
https://www.djangoproject.com/weblog/2025/oct/01/security-releases/
MITRE
Release Notes
Vendor Advisory
CWE-ID CWE Name Source
Relative Path Traversal
MITRE
Known Affected Software Configurations Switch to CPE 2.2
_
_ _
__ Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.
5 change records found show changes
** CVE Modified by CISA-ADP 6/17/2026 5:46:30 AM **
Action Type Old Value New Value
Added SSVC
{"timestamp":"2025-10-01T19:10:29.537724Z","id":"CVE-2025-59682","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}
** CVE Modified by MITRE 6/17/2026 5:46:30 AM **
Action Type Old Value New Value
Added Affected
[{"vendor":"djangoproject","product":"Django","defaultStatus":"unknown","versions":[{"version":"4.2","lessThan":"4.2.25","versionType":"custom","status":"affected"},{"version":"5.1","lessThan":"5.1.13","versionType":"custom","status":"affected"},{"version":"5.2","lessThan":"5.2.7","versionType":"custom","status":"affected"}]}]
** CVE Modified by CVE 11/04/2025 5:16:35 PM **
Action Type Old Value New Value
Added Reference
http://www.openwall.com/lists/oss-security/2025/10/01/3
** Initial Analysis by NIST 10/22/2025 11:58:29 AM **
Action Type Old Value New Value
Added CVSS V3.1
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Added CPE Configuration
OR
*cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions from (including) 4.2.0 up to (excluding) 4.2.25
*cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions from (including) 5.1 up to (excluding) 5.1.13
*cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions from (including) 5.2 up to (excluding) 5.2.7
Added Reference Type
MITRE: https://docs.djangoproject.com/en/dev/releases/security/ Types: Vendor Advisory
Added Reference Type
MITRE: https://groups.google.com/g/django-announce Types: Release Notes, Vendor Advisory
Added Reference Type
MITRE: https://www.djangoproject.com/weblog/2025/oct/01/security-releases/ Types: Release Notes, Vendor Advisory
** New CVE Received from MITRE 10/01/2025 3:15:37 PM **
Action Type Old Value New Value
Added 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.
Added CVSS V3.1
AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Added CWE
CWE-23
Added Reference
https://docs.djangoproject.com/en/dev/releases/security/
Added Reference
https://groups.google.com/g/django-announce
Added Reference
https://www.djangoproject.com/weblog/2025/oct/01/security-releases/
Quick Info
CVE Dictionary Entry: CVE-2025-59682 NVD Published Date: 10/01/2025 NVD Last Modified: 06/17/2026 ** Source:** MITRE
_
Discussion
Sign in to join the discussion.
Keep reading
Optional: create a free account to save items, track programs, and sync across web + app. Reading stays free.