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.
Published: 2025-10-01
Score: 3.1 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4324-1 python-django security update
Debian DSA Debian DSA DSA-6117-1 python-django security update
Debian DSA Debian DSA DSA-6136-1 python-django security update
EUVD EUVD EUVD-2025-32049 Django vulnerable to partial directory traversal via archives
Github GHSA Github GHSA GHSA-q95w-c7qg-hrff Django vulnerable to partial directory traversal via archives
Ubuntu USN Ubuntu USN USN-7794-1 Django vulnerabilities
History

Tue, 04 Nov 2025 22:30:00 +0000

Type Values Removed Values Added
References

Wed, 22 Oct 2025 16:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*

Fri, 03 Oct 2025 00:15:00 +0000

Type Values Removed Values Added
Title django: Potential partial directory-traversal via archive.extract()
Weaknesses CWE-22
References
Metrics threat_severity

None

threat_severity

Important


Thu, 02 Oct 2025 09:00:00 +0000

Type Values Removed Values Added
First Time appeared Djangoproject
Djangoproject django
Vendors & Products Djangoproject
Djangoproject django

Wed, 01 Oct 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 01 Oct 2025 19:00:00 +0000

Type Values Removed Values Added
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.
Weaknesses CWE-23
References
Metrics cvssV3_1

{'score': 3.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N'}


Subscriptions

Djangoproject Django
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-11-04T21:13:56.342Z

Reserved: 2025-09-18T00:00:00.000Z

Link: CVE-2025-59682

cve-icon Vulnrichment

Updated: 2025-11-04T21:13:56.342Z

cve-icon NVD

Status : Modified

Published: 2025-10-01T19:15:37.007

Modified: 2025-11-04T22:16:35.727

Link: CVE-2025-59682

cve-icon Redhat

Severity : Important

Publid Date: 2025-10-01T00:00:00Z

Links: CVE-2025-59682 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2025-10-02T08:45:49Z

Weaknesses