CVE-2025-59682

LOW
Published Oct 1, 2025 Modified Nov 4, 2025 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.

CVSS v3.1 Score

3.1
LOW
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

Weakness Type (CWE)

CWE-23 CWE-23

Affected Products

Vendor Product
djangoproject django
djangoproject django
djangoproject django

References

Frequently Asked Questions

What is 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 "startapp --template" and "startproject --template" commands, allows partial directory traversal via an archive with file paths sharing a common prefix with the target directory. It has a CVSS v3.1 base score of 3.1 (LOW).
How severe is CVE-2025-59682? +
CVE-2025-59682 has a CVSS v3.1 score of 3.1 out of 10, rated LOW. This is a low-severity vulnerability with limited impact.
What products are affected by CVE-2025-59682? +
CVE-2025-59682 affects products from djangoproject, specifically: django. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-59682? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-59682 — free, no signup required.

Start Free Scan