---
cve: "CVE-2025-64459"
severity: "CRITICAL"
cvss: 9.1
epss: "19.4%"
vendor: "djangoproject"
kev: false
exploited: false
published: "2025-11-05 15:15:41"
tags: [cve, security, critical]
source: tsecurity.de CVE-Dossier
exported: "2026-09-06T01:14:16+02:00"
---

# CVE-2025-64459

> 9.1 CRITICAL

## Beschreibung

An issue was discovered in 5.1 before 5.1.14, 4.2 before 4.2.26, and 5.2 before 5.2.8.
The methods `QuerySet.filter()`, `QuerySet.exclude()`, and `QuerySet.get()`, and the class `Q()`, are subject to SQL injection when using 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) were not evaluated and may also be affected.
Django would like to thank cyberstan for reporting this issue.

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Keine | good |

## Exploit-Evidenz

- [EDB-52456 — Django 5.1.13 - SQL Injection](https://www.exploit-db.com/exploits/52456)

## Patch verfügbar (OSV)

- 0dfd59e2d5c713510c6bcf245e8ac2d5b2043a0a (Commit)
- da443c4d5472dfc5afe2567b59123da8372715fe (Commit)

## Referenzen

- <https://docs.djangoproject.com/en/dev/releases/security/>
- <https://groups.google.com/g/django-announce>
- <https://www.djangoproject.com/weblog/2025/nov/05/security-releases/>
- <https://shivasurya.me/security/django/2025/11/07/django-sql-injection-CVE-2025-64459.html>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2025-64459) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
