CVEvulnerability
CVE-2025-59682
6.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2025-10-01
- Last modified
- 2026-10-12
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 3.1 LOW — CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
- CVSS 3.1 ([email protected])
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-23
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.
Affected configurations
• djangoproject django (>= 4.2.0 < 4.2.25)
• djangoproject django (>= 5.1 < 5.1.13)
• djangoproject django (>= 5.2 < 5.2.7)
Related
Weakness · CWE (1)
- CWE-23 Relative Path Traversal weakness
References
- https://docs.djangoproject.com/en/dev/releases/security/ Vendor Advisory
- https://groups.google.com/g/django-announce Release Notes, Vendor Advisory
- https://www.djangoproject.com/weblog/2025/oct/01/security-releases/ Release Notes, Vendor Advisory
- http://www.openwall.com/lists/oss-security/2025/10/01/3 www.openwall.com