# CVE-2025-64459: python3-django: An issue was discovered in 5.1 before 5.1.14, 4.2 before 4.2.26, and 5.2before 5.2.8.The methods `QuerySet.filter()`,...

CVE-2025-64459 is fixed in 3 products on 1 platform, first by python3-django 2:2.2.12-1ubuntu0.29+esm5, released November 4, 2025. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2025-64459
- Priority: High
- CVSS: 9.1 (Medium)
- EPSS: 0.1926
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Nov 4, 2025

## Description

An issue was discovered in 5.1 before 5.1.14, 4.2 before 4.2.26, and 5.2before 5.2.8.The methods `QuerySet.filter()`, `QuerySet.exclude()`, and`QuerySet.get()`, and the class `Q()`, are subject to SQL injection whenusing a suitably crafted dictionary, with dictionary expansion, as the`_connector` argument.Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) werenot evaluated and may also be affected.Django would like to thank cyberstan for reporting this issue.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | python-Django opensuse-leap 15.6 | 4.2.11-150600.3.41.1 | [SUSE-SU-2025:4100-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-4100-1.md) | Nov 14, 2025 |
| Linux | python-Django opensuse-leap 16.0 | 5.2.4-bp160.4.1 | [OPENSUSE-SU-2025:20153-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20153-1.md) | Dec 9, 2025 |
| Linux | python-Django sles 15.6 | 4.2.11-150600.3.41.1 | [SUSE-SU-2025:4100-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-4100-1.md) | Nov 14, 2025 |
| Linux | python-Django sles 15.7 | 4.2.11-150600.3.41.1 | [SUSE-SU-2025:4100-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-4100-1.md) | Nov 14, 2025 |
| Linux | python-django Debian 11.6 (bullseye) | 2:2.2.28-1~deb11u10 | [DLA-4425-1](https://patchblox.com/security/data/fix/linux/dla-4425-1.md) | Dec 29, 2025 |
| Linux | python-django Debian 12.15 (bookworm) | 3:3.2.25-0+deb12u1 | [DEBIAN-CVE-2025-64459](https://patchblox.com/security/data/fix/linux/debian-cve-2025-64459.md) | Nov 5, 2025 |
| Linux | python-django Debian 13.5 (trixie) | 3:4.2.27-0+deb13u1 | [DEBIAN-CVE-2025-64459](https://patchblox.com/security/data/fix/linux/debian-cve-2025-64459.md) | Nov 5, 2025 |
| Linux | python-django Debian 14 | 3:4.2.26-1 | [DEBIAN-CVE-2025-64459](https://patchblox.com/security/data/fix/linux/debian-cve-2025-64459.md) | Nov 5, 2025 |
| Linux | python3-django Ubuntu 20.04 LTS (focal) | 2:2.2.12-1ubuntu0.29+esm5 | [python3-django 2:2.2.12-1ubuntu0.29+esm5](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-django-2-2.2.12-1ubuntu0.29-esm5.md) | Nov 4, 2025 |
| Linux | python3-django Ubuntu 22.04.1 LTS (jammy) | 2:3.2.12-2ubuntu1.23 | [python3-django 2:3.2.12-2ubuntu1.23](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3-django-2-3.2.12-2ubuntu1.23.md) | Nov 4, 2025 |
| Linux | python3-django Ubuntu 24.04.5 LTS (noble) | 3:4.2.11-1ubuntu1.12 | [python3-django 3:4.2.11-1ubuntu1.12](https://patchblox.com/security/data/fix/linux/ubuntu-noble-python3-django-3-4.2.11-1ubuntu1.12.md) | Nov 4, 2025 |
| Linux | python3-django Ubuntu 25.04 (plucky) | 3:4.2.18-1ubuntu1.6 | [python3-django 3:4.2.18-1ubuntu1.6](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-python3-django-3-4.2.18-1ubuntu1.6.md) | Nov 5, 2025 |
| Linux | python3-django Ubuntu 25.10 (questing) | 3:5.2.4-1ubuntu2.1 | [python3-django 3:5.2.4-1ubuntu2.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-python3-django-3-5.2.4-1ubuntu2.1.md) | Nov 4, 2025 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

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.
