SQL Injection in Djangoproject Django

CVE-2025-64459

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.

Vulnerability class: SQL Injection

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.

EPSS exploit prediction

EPSS: 0.194 (97.3th percentile), scored .

Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 97th percentile — 97.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2025-64459: held from 0.194 to 0.194.

EPSS over last 30 days · oldest: 0.194 · newest: 0.194 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-64459?
CVE-2025-64459 is a critical-severity vulnerability in Djangoproject Django, classified under SQL Injection. CVSS score: 9.1/10. Published 2025-11-05.
How severe is CVE-2025-64459?
Critical severity. CVSS v3 base score is 9.1 out of 10.
Is CVE-2025-64459 known to be exploited?
10 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.