Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2025-64459 Details

Description

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://docs.djangoproject.com/en/dev/releases/security/ Django Software FoundationVendor Advisory
https://groups.google.com/g/django-announce Django Software FoundationMailing List
https://www.djangoproject.com/weblog/2025/nov/05/security-releases/ Django Software FoundationVendor Advisory
https://shivasurya.me/security/django/2025/11/07/django-sql-injection-CVE-2025-64459.html CVEExploitThird Party Advisory

Weakness Enumeration

CWE-IDCWE NameSource
CWE-89Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')Django Software Foundation

Affected Products

ProductVersions
djangoproject django
>= 4.2, < 4.2.26
>= 5.1, < 5.1.14
>= 5.2, < 5.2.8

CPE

  • cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

6 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2025-64459
NVD Published Date:
Nov 5, 2025
NVD Last Modified:
Jun 17, 2026
Source:
Django Software Foundation
CVE-2025-64459 Details - Not Deferred