CVE-2025-59682
Last modified
CVE-2025-59682 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.. EPSS estimates a 0.85% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Djangoproject | Django | >= 4.2.0, < 4.2.25 |
| Djangoproject | Django | >= 5.1, < 5.1.13 |
| Djangoproject | Django | >= 5.2, < 5.2.7 |
References
- https://docs.djangoproject.com/en/dev/releases/security/Vendor Advisory
- https://groups.google.com/g/django-announceRelease Notes, Vendor Advisory
- https://www.djangoproject.com/weblog/2025/oct/01/security-releases/Release Notes, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-59682?
How severe is CVE-2025-59682?
How do I fix CVE-2025-59682?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-59674Rejected reason: Not used
- CVE-2025-59675Rejected reason: Not used
- CVE-2025-59676Rejected reason: Not used
- CVE-2025-59677Rejected reason: Not used
- CVE-2025-59678Rejected reason: Not used
- CVE-2025-59681An issue was discovered in Django 4.2 before 4.2.25, 5.1 bef…9.8
- CVE-2025-59683Pexip Infinity 15.0 through 38.0 before 38.1 has Improper Ac…9.1
- CVE-2025-59684DigiSign DigiSigner ONE 1.0.4.60 allows DLL Hijacking.8.8
- CVE-2025-59685Kazaar 1.25.12 allows a JWT with none in the alg field.5.3
- CVE-2025-59686Kazaar 1.25.12 allows /api/v1/org-id/orders/order-id/documen…6.5
- CVE-2025-59687IMPAQTR Aurora before 1.36 allows Insecure Direct Object Ref…4.3
- CVE-2025-59689Libraesva ESG 4.5 through 5.5.x before 5.5.7 allows command …6.1
Are you affected by CVE-2025-59682?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
