Skip to content

CVE-2025-59682 (Low) detected in Django-4.2.19-py3-none-any.whl #452

@mend-bolt-for-github

Description

@mend-bolt-for-github

CVE-2025-59682 - Low Severity Vulnerability

Vulnerable Library - Django-4.2.19-py3-none-any.whl

A high-level Python web framework that encourages rapid development and clean, pragmatic design.

Library home page: https://files.pythonhosted.org/packages/14/db/6fc8c55f3b482776ac245623cd713b00ba894ad8f32cf438a40d9f1ea29e/Django-4.2.19-py3-none-any.whl

Path to dependency file: /tmp/ws-scm/django-extra-field-validation

Path to vulnerable library: /tmp/ws-scm/django-extra-field-validation

Dependency Hierarchy:

  • Django-4.2.19-py3-none-any.whl (Vulnerable Library)

Found in base branch: main

Vulnerability Details

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.

Publish Date: 2025-10-01

URL: CVE-2025-59682

CVSS 3 Score Details (3.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-q95w-c7qg-hrff

Release Date: 2025-10-01

Fix Resolution: 4.2.25


Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions