CVE-2025-59682

State
Published
Severity
3.1 Low
Published
Oct 1, 2025
Updated
Nov 4, 2025
Reserved
Sep 18, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.13.1 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:Nmitre

Weaknesses

  • CWE-23 Relative Path Traversal

Affected Products

ProductVersions
Djangodjangoproject
  • 4.2 to before 4.2.25Affected
  • 5.1 to before 5.1.13Affected
  • 5.2 to before 5.2.7Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.