ADVISORIES

Vulnerability

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.

26 advisories report this vulnerability, across 9 ecosystems.

Advisories

  • ALPINE-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…

    CVE-2025-59682 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2025-59682
    CVE-2025-59682 Alpine Updated 18 November 2026
  • CGA-3mpp-3g9g-28jr
    CVE-2025-59682 Chainguard Updated 5 November 2026
  • CGA-c69x-9xq4-f548
    CVE-2025-59682 Chainguard Updated 5 November 2026
  • DEBIAN-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…

    CVE-2025-59682 Debian Updated 13 October 2026
  • DLA-4324-1

    python-django - security update

    CVE-2025-59681CVE-2025-59682 Debian Updated 20 November 2026
  • DSA-6117-1

    python-django - security update

    CVE-2025-13372CVE-2025-57833CVE-2025-59681CVE-2025-59682 Debian Updated 20 November 2026
  • DSA-6136-1

    python-django - security update

    CVE-2019-14232CVE-2023-41164CVE-2023-43665CVE-2024-24680 Debian Updated 20 November 2026
  • GHSA-q95w-c7qg-hrff

    Django vulnerable to partial directory traversal via archives

    Low CVE-2025-59682 PyPI Updated 10 September 2026
  • OESA-2025-2378

    python-django security update

    Critical CVE-2025-59681CVE-2025-59682 openEuler Updated 18 August 2026
  • OESA-2025-2379

    python-django security update

    Critical CVE-2025-59681CVE-2025-59682 openEuler Updated 18 August 2026
  • OESA-2025-2460

    python-django security update

    Critical CVE-2025-59681CVE-2025-59682 openEuler Updated 18 August 2026
  • OESA-2025-2461

    python-django security update

    Critical CVE-2025-59681CVE-2025-59682 openEuler Updated 18 August 2026
  • OESA-2025-2462

    python-django security update

    Critical CVE-2025-59681CVE-2025-59682 openEuler Updated 18 August 2026
  • OESA-2025-2463

    python-django security update

    Critical CVE-2025-59681CVE-2025-59682 openEuler Updated 18 August 2026
  • PYSEC-2026-1296

    Django vulnerable to partial directory traversal via archives

    CVE-2025-59682 PyPI Updated 7 July 2026
  • RHSA-2025:18979

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update

    CVE-2025-59343CVE-2025-59682 Red Hat Updated 13 November 2026
  • RHSA-2025:19201

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update

    CVE-2025-59343CVE-2025-59682CVE-2025-9907CVE-2025-9908 Red Hat Updated 13 November 2026
  • SUSE-SU-2025:03446-1

    Security update for python-Django

    CVE-2025-59681CVE-2025-59682 SUSEopenSUSE Updated 4 February 2026
  • UBUNTU-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…

    CVE-2025-59682 Ubuntu Updated 20 May 2026
  • USN-7794-1

    python-django vulnerabilities

    CVE-2025-59681CVE-2025-59682 Ubuntu Updated 25 June 2026
  • openSUSE-SU-2025:15596-1

    python311-Django4-4.2.25-1.1 on GA media

    CVE-2025-59681CVE-2025-59682 openSUSE Updated 23 March 2026
  • openSUSE-SU-2025:15598-1

    python311-Django-5.2.7-1.1 on GA media

    CVE-2025-59681CVE-2025-59682 openSUSE Updated 23 March 2026
  • openSUSE-SU-2025:20022-1

    Security update for python-Django

    CVE-2025-59681CVE-2025-59682 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:10005-1

    python312-Django6-6.0-1.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:11270-1

    python313-Django5-5.2.16-1.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 15 July 2026

References