cbcvebase.
CVE-2025-59682
published 2025-10-01

CVE-2025-59682: 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…

PriorityP343medium6.5CVSS 3.1
AVNACLPRLUINSUCHINAN
EPSS
0.85%
53.6th percentile
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

8 ranges
VendorProductVersion rangeFixed in
debianpython-django< python-django 3:3.2.25-0+deb12u1 (bookworm)python-django 3:3.2.25-0+deb12u1 (bookworm)
djangoprojectdjango>= 4.2 < 4.2.254.2.25
djangoprojectdjango>= 4.2 < 4.2.254.2.25
djangoprojectdjango>= 4.2.0 < 4.2.254.2.25
djangoprojectdjango>= 5.1 < 5.1.135.1.13
djangoprojectdjango>= 5.1 < 5.1.135.1.13
djangoprojectdjango>= 5.2 < 5.2.75.2.7
djangoprojectdjango>= 5.2 < 5.2.75.2.7

CVSS provenance

nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
osv9.8CRITICAL
vendor_ubuntu7.1HIGH
vendor_debian3.1LOW
vendor_redhat3.1LOW
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.