CVE-2025-59682
Django vulnerability analysis and mitigation

Overview

CVE-2025-59682 affects Django versions 4.2 before 4.2.25, 5.1 before 5.1.13, and 5.2 before 5.2.7. The vulnerability was discovered and disclosed on October 1, 2025. The issue exists in the django.utils.archive.extract() function, which is used by the 'startapp --template' and 'startproject --template' commands (Django Security).

Technical details

The vulnerability allows partial directory traversal via an archive with file paths sharing a common prefix with the target directory. The issue has been assigned a CVSS v3.1 base score of 3.1 (LOW) with the vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N. The vulnerability is classified as CWE-23 (Relative Path Traversal) (NVD).

Impact

If exploited, this vulnerability could allow an attacker to obtain sensitive information through partial directory traversal. The impact is considered 'low' according to the Django security policy (Django Security, Ubuntu Security).

Mitigation and workarounds

The issue has been fixed in Django versions 5.2.7, 5.1.13, and 4.2.25. Users are encouraged to upgrade to these versions as soon as possible. Patches have been applied to Django's main, 6.0 (alpha), 5.2, 5.1, and 4.2 branches (Django Security).

Community reactions

The vulnerability was reported by security researcher 'stackered' and was handled according to Django's security release policy. The Django team classified this as a 'low' severity issue (Django Security).

Additional resources


SourceThis report was generated using AI

Related Django vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-64459CRITICAL9.1
  • DjangoDjango
  • python-django4.2
NoYesNov 05, 2025
CVE-2025-64460HIGH7.5
  • DjangoDjango
  • python-django5
NoYesDec 02, 2025
CVE-2025-64458HIGH7.5
  • DjangoDjango
  • python-django
NoYesNov 05, 2025
CVE-2025-59682MEDIUM6.5
  • DjangoDjango
  • awx
NoYesOct 01, 2025
CVE-2025-13372MEDIUM4.3
  • DjangoDjango
  • awx
NoYesDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management