Patchwire CVEs, their patch status, and feeds to follow them

CVE-2025-59682

Fixed in a distro release EPSS <1%CVSS 3.1

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 · CVE record · OSV

Products: djangoproject django

Fixed upstream

EcosystemPackageFixed in
PyPIdjango4.2.25
PyPIdjango5.1.13
PyPIdjango5.2.7

Distro releases

ReleasePackageFixed in
Chainguardawx24.6.1-r17
Debian 11python-django2:2.2.28-1~deb11u9
Debian 12python-django3:3.2.25-0+deb12u1
Debian 13python-django3:4.2.27-0+deb13u1
Debian 14python-django3:4.2.25-1
Red Hat ansible automation platform 2.5automation-gateway0:2.5.20251022-1.el9ap
Red Hat ansible automation platform 2.5automation-gateway0:2.5.20251022-1.el8ap
Red Hat ansible automation platform 2.5automation-gateway-config0:2.5.20251022-1.el9ap
Red Hat ansible automation platform 2.5automation-gateway-config0:2.5.20251022-1.el8ap
Red Hat ansible automation platform 2.5automation-gateway-server0:2.5.20251022-1.el9ap
Red Hat ansible automation platform 2.5automation-gateway-server0:2.5.20251022-1.el8ap
Red Hat ansible automation platform 2.5python3.11-django0:4.2.25-1.el9ap
Red Hat ansible automation platform 2.5python3.11-django0:4.2.25-1.el8ap
Red Hat ansible automation platform 2.6automation-eda-controller0:1.2.1-1.el9ap
Red Hat ansible automation platform 2.6automation-eda-controller-base0:1.2.1-1.el9ap
Red Hat ansible automation platform 2.6automation-eda-controller-base-services0:1.2.1-1.el9ap
Red Hat ansible automation platform 2.6automation-eda-controller-event-stream-services0:1.2.1-1.el9ap
Red Hat ansible automation platform 2.6automation-eda-controller-worker-services0:1.2.1-1.el9ap
Red Hat ansible automation platform 2.6automation-platform-ui0:2.6.2-1.el9ap
Red Hat ansible automation platform 2.6python3.11-django0:4.2.25-1.el9ap
Red Hat ansible automation platform developer 2.5python3.11-django0:4.2.25-1.el8ap
Red Hat ansible automation platform developer 2.5python3.11-django0:4.2.25-1.el9ap
Red Hat ansible automation platform developer 2.6python3.11-django0:4.2.25-1.el9ap
SUSE Linux Enterprise Module for Package Hub 15 SP6python-Django4.2.11-150600.3.33.1
SUSE Linux Enterprise Module for Package Hub 15 SP7python-Django4.2.11-150600.3.33.1
Ubuntu 22.04 LTSpython-django2:3.2.12-2ubuntu1.22
Ubuntu 24.04 LTSpython-django3:4.2.11-1ubuntu1.11
Ubuntu 25.10python-django3:5.2.4-1ubuntu2
Ubuntu 26.04 LTSpython-django3:5.2.4-1ubuntu2
Ubuntu Pro 14.04 LTSpython-django1.6.11-0ubuntu1.3+esm8
Ubuntu Pro 16.04 LTSpython-django1.8.7-1ubuntu5.15+esm9
Ubuntu Pro 18.04 LTSpython-django1:1.11.11-1ubuntu1.21+esm12
Ubuntu Pro 20.04 LTSpython-django2:2.2.12-1ubuntu0.29+esm4
openSUSE Leap 15.6python-Django4.2.11-150600.3.33.1
openSUSE Leap 16.0python-Django5.2.4-bp160.3.1
openSUSE Tumbleweedpython-Django5.2.7-1.1
openSUSE Tumbleweedpython-Django44.2.25-1.1
openSUSE Tumbleweedpython-Django55.2.16-1.1
openSUSE Tumbleweedpython-Django66.0-1.1