CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8) in djangoproject django. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in django 4.2.25, 5.1.13, 5.2.7.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hdjango (PyPI): fixed in 4.2.25, 5.1.13, 5.2.7Explain CVE-2025-59681 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-59681?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-59681?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-59681 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| djangoproject Django | from 4.2 before 4.2.25 |
| djangoproject Django | from 5.1 before 5.1.13 |
| djangoproject Django | from 5.2 before 5.2.7 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-hpr9-3m2g-3j9p | PyPI | django | >=4.2 <4.2.25 | 4.2.25 |
| GHSA-hpr9-3m2g-3j9p | PyPI | django | >=5.1 <5.1.13 | 5.1.13 |
| GHSA-hpr9-3m2g-3j9p | PyPI | django | >=5.2 <5.2.7 | 5.2.7 |
| PYSEC-2025-106 | PyPI | django | >=4.2 <4.2.25 >=5.1 <5.1.13 >=5.2 <5.2.7 | 4.2.25, 5.1.13, 5.2.7 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | python-django | 2:2.2.28-1~deb11u9 | DLA-4324-1 |
| Debian | 12 | python-django | 3:3.2.25-0+deb12u1 | DEBIAN-CVE-2025-59681 DSA-6136-1 |
| Debian | 13 | python-django | 3:4.2.27-0+deb13u1 | DEBIAN-CVE-2025-59681 DSA-6117-1 |
| Debian | 14 | python-django | 3:4.2.25-1 | DEBIAN-CVE-2025-59681 |
| Ubuntu | 22.04:LTS | python-django | 2:3.2.12-2ubuntu1.22 | UBUNTU-CVE-2025-59681 USN-7794-1 |
| Ubuntu | 24.04:LTS | python-django | 3:4.2.11-1ubuntu1.11 | UBUNTU-CVE-2025-59681 USN-7794-1 |
| Ubuntu | 25.10, 26.04:LTS | python-django | 3:5.2.4-1ubuntu2 | UBUNTU-CVE-2025-59681 |
| Ubuntu | Pro:14.04:LTS | python-django | 1.6.11-0ubuntu1.3+esm8 | UBUNTU-CVE-2025-59681 USN-7794-1 |
| Ubuntu | Pro:16.04:LTS | python-django | 1.8.7-1ubuntu5.15+esm9 | UBUNTU-CVE-2025-59681 USN-7794-1 |
| Ubuntu | Pro:18.04:LTS | python-django | 1:1.11.11-1ubuntu1.21+esm12 | UBUNTU-CVE-2025-59681 USN-7794-1 |
| Ubuntu | Pro:20.04:LTS | python-django | 2:2.2.12-1ubuntu0.29+esm4 | UBUNTU-CVE-2025-59681 USN-7794-1 |
| SUSE | Linux Enterprise Module for Package Hub 15 SP6, Linux Enterprise Module for Package Hub 15 SP7 | python-Django | 4.2.11-150600.3.33.1 | SUSE-SU-2025:03446-1 |
| openSUSE | Leap 15.6 | python-Django | 4.2.11-150600.3.33.1 | SUSE-SU-2025:03446-1 |
| openSUSE | Leap 16.0 | python-Django | 5.2.4-bp160.3.1 | openSUSE-SU-2025:20022-1 |
| openSUSE | Tumbleweed | python-Django | 5.2.7-1.1 | openSUSE-SU-2025:15598-1 |
| openSUSE | Tumbleweed | python-Django4 | 4.2.25-1.1 | openSUSE-SU-2025:15596-1 |
| openSUSE | Tumbleweed | python-Django5 | 5.2.16-1.1 | openSUSE-SU-2026:11270-1 |
| openSUSE | Tumbleweed | python-Django6 | 6.0-1.1 | openSUSE-SU-2026:10005-1 |
| Alpine | v3.22, v3.23, v3.24 | py3-django | 4.2.25-r0 | ALPINE-CVE-2025-59681 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.
Red Hat rates this Important.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2.5 for RHEL 8 | ansible-automation-platform-25/lightspeed-rhel8:2.5.250924-2 | Fixed 2025-10-22 | RHSA-2025:18984 |
| Red Hat Ansible Automation Platform 2.6 | ansible-automation-platform-tech-preview/ansible-devspaces-rhel9:2.6-1765600296 | Fixed 2025-12-15 | RHSA-2025:23196 |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-cni-rhel9 | Not affected | |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-must-gather-rhel9 | Not affected | |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-pilot-rhel9 | Not affected | |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-proxyv2-rhel9 | Affected | |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-rhel9-operator | Not affected | |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-sail-operator-bundle | Not affected | |
| OpenShift Service Mesh 3 | openshift-service-mesh-tech-preview/istio-ztunnel-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/lightspeed-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/ansible-dev-tools-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | automation-controller | Not affected | |
| Red Hat Ansible Automation Platform 2 | python-django | Not affected | |
| Red Hat Certification for Red Hat Enterprise Linux 7 | python-django | Affected | |
| Red Hat Discovery 1 | discovery/discovery-server-rhel9 | Not affected | |
| Red Hat Discovery 2 | discovery/discovery-server-rhel9 | Affected | |
| Red Hat OpenStack Platform 16.2 | python-django20 | Not affected | |
| Red Hat OpenStack Platform 17.1 | python-django | Not affected | |
| Red Hat OpenStack Platform 18.0 | python-django | Not affected | |
| Red Hat Satellite 6 | python-django | Not affected | |
| 2 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-59681.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.