CVE-2025-59682CWE-23

CVE-2025-59682

Low · published October 1, 2025

CVSS v3.1
3.1
EPSS
1%
Percentile
60.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
3.1 · LOW
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00932 · 60.3th percentile
Weakness
CWE-23 · Relative Path Traversal
Published
2025-10-01T23:15Z
Affected products (3)
ProductVersionsFixed in
djangoproject/django≥ 4.2.0, < 4.2.254.2.25
djangoproject/django≥ 5.1, < 5.1.135.1.13
djangoproject/django≥ 5.2, < 5.2.75.2.7
References (4)
EPSS history
Timeline
  • 01 OCT 00:00Z
    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
    cvelistv5