CVE-2025-64459

CRITICAL EPSS 97.0%
Published Nov 5, 20257mo ago · Modified Jun 17, 20262w ago
9.1 CVSS 3.1
Critical
Find Similar
Published Nov 5, 2025 7mo ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
9.1
Exploitability
3.9
Impact
5.2
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability None

Threat Intelligence

EPSS Exploit Probability
97.0% percentile
Exploit & Patch Status
Public Exploit Known
No Patch Available

Weaknesses 1

CWE-89 SQL Injection Injection

Affected Products 3

VendorProductVersionRange
djangoprojectdjango*≥4.2  –  <4.2.26
djangoprojectdjango*≥5.1  –  <5.1.14
djangoprojectdjango*≥5.2  –  <5.2.8

References 4

  • docs.djangoproject.com https://docs.djangoproject.com/en/dev/releases/security/
    Vendor Advisory
  • groups.google.com https://groups.google.com/g/django-announce
    Mailing List
  • shivasurya.me https://shivasurya.me/security/django/2025/11/07/django-sql-injection-CVE-2025-64459.html
    ExploitThird Party Advisory
  • djangoproject.com https://www.djangoproject.com/weblog/2025/nov/05/security-releases/
    Vendor Advisory

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.