Upstream information

CVE-2025-59682 at MITRE

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v3 Scores
  CNA (MITRE) SUSE
Base Score 3.1 7.5
Vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector Network Network
Attack Complexity High Low
Privileges Required Low None
User Interaction None None
Scope Unchanged Unchanged
Confidentiality Impact None High
Integrity Impact Low None
Availability Impact None None
CVSSv3 Version 3.1 3.1
CVSS v4 Scores
  SUSE
Base Score 8.7
Vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Attack Vector Network
Attack Complexity Low
Attack Requirements None
Privileges Required None
User Interaction None
Vulnerable System Confidentiality Impact High
Vulnerable System Integrity Impact None
Vulnerable System Availability Impact None
Subsequent System Confidentiality Impact None
Subsequent System Integrity Impact None
Subsequent System Availability Impact None
CVSSv4 Version 4.0
SUSE Bugzilla entry: 1250487 [NEW]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Linux Enterprise Module for Package Hub 15 SP6
  • python311-Django >= 4.2.11-150600.3.33.1
Patchnames:
SUSE-SLE-Module-Packagehub-Subpackages-15-SP6-2025-3446
SUSE Linux Enterprise Module for Package Hub 15 SP7
  • python311-Django >= 4.2.11-150600.3.33.1
Patchnames:
SUSE-SLE-Module-Packagehub-Subpackages-15-SP7-2025-3446
openSUSE Leap 15.6
  • python311-Django >= 4.2.11-150600.3.33.1
Patchnames:
openSUSE-SLE-15.6-2025-3446
openSUSE Tumbleweed
  • python311-Django4 >= 4.2.25-1.1
  • python312-Django4 >= 4.2.25-1.1
  • python313-Django4 >= 4.2.25-1.1
Patchnames:
openSUSE-Tumbleweed-2025-15596


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise Module for Package Hub 15 SP6 python-Django Released
SUSE Linux Enterprise Module for Package Hub 15 SP7 python-Django Released
openSUSE Leap 15.6 python-Django Released


SUSE Timeline for this CVE

CVE page created: Wed Sep 24 18:02:07 2025
CVE page last modified: Fri Oct 3 01:26:16 2025