CVE-2025-59682

python3-django: An issue was discovered in Django 4.2 before 4.2.25, 5.1 before 5.1.13, and5.2 before 5.2.7

CVE-2025-59682 is fixed in 4 products on 1 platform, first by python-django 1:1.11.11-1ubuntu1.21+esm12, released October 1, 2025. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
6.5
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0093
60th percentile

An issue was discovered in Django 4.2 before 4.2.25, 5.1 before 5.1.13, and5.2 before 5.2.7. The django.utils.archive.extract() function, used by the"startapp --template" and "startproject --template" commands, allowspartial directory traversal via an archive with file paths sharing a commonprefix with the target directory.

Where it's fixed

ProductFixed inFixReleased
Linux
python-Django · opensuse-leap 15.6 4.2.11-150600.3.33.1 SUSE-SU-2025:03446-1 Oct 2, 2025
python-Django · opensuse-leap 16.0 5.2.4-bp160.3.1 OPENSUSE-SU-2025:20022-1 Oct 31, 2025
python-Django · sles 15.6 4.2.11-150600.3.33.1 SUSE-SU-2025:03446-1 Oct 2, 2025
python-Django · sles 15.7 4.2.11-150600.3.33.1 SUSE-SU-2025:03446-1 Oct 2, 2025
python-django · Debian 12.15 (bookworm) 3:3.2.25-0+deb12u1 DEBIAN-CVE-2025-59682 Oct 1, 2025
python-django · Debian 13.5 (trixie) 3:4.2.27-0+deb13u1 DEBIAN-CVE-2025-59682 Oct 1, 2025
python-django · Debian 14 3:4.2.25-1 DEBIAN-CVE-2025-59682 Oct 1, 2025
python-django · Ubuntu 18.04.6 LTS (bionic) 1:1.11.11-1ubuntu1.21+esm12 python-django 1:1.11.11-1ubuntu1.21+esm12 Oct 1, 2025
python-django-common · Ubuntu 18.04.6 LTS (bionic) 1:1.11.11-1ubuntu1.21+esm12 python-django-common 1:1.11.11-1ubuntu1.21+esm12 Oct 1, 2025
python3-django · Ubuntu 18.04.6 LTS (bionic) 1:1.11.11-1ubuntu1.21+esm12 python3-django 1:1.11.11-1ubuntu1.21+esm12 Oct 1, 2025
python3-django · Ubuntu 20.04 LTS (focal) 2:2.2.12-1ubuntu0.29+esm4 python3-django 2:2.2.12-1ubuntu0.29+esm4 Oct 1, 2025
python3-django · Ubuntu 22.04.1 LTS (jammy) 2:3.2.12-2ubuntu1.22 python3-django 2:3.2.12-2ubuntu1.22 Oct 1, 2025
python3-django · Ubuntu 24.04.5 LTS (noble) 3:4.2.11-1ubuntu1.11 python3-django 3:4.2.11-1ubuntu1.11 Oct 1, 2025
python3-django · Ubuntu 25.04 (plucky) 3:4.2.18-1ubuntu1.5 python3-django 3:4.2.18-1ubuntu1.5 Jan 16, 2026
python3-django · Ubuntu 25.10 (questing) 3:5.2.4-1ubuntu2 python3-django 3:5.2.4-1ubuntu2 Oct 1, 2025
python3-django · Ubuntu 26.04.1 LTS (resolute) 3:5.2.4-1ubuntu2 python3-django 3:5.2.4-1ubuntu2 Oct 1, 2025

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.