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.
CVE-2025-64459
“—” beside the score: it is equal to the CVSS score beside it.
This critical-severity CVE scores 9.1 under CISA-ADP (Vulnrichment) CVSS v3.1 (NVD's own analysis pending). EPSS exploit probability: 19% (97th percentile of EPSS-scored CVEs). No GitHub Security Advisory CVSS is on record for this CVE.
Also known asEUVD-2025-37763 (ENISA EUVD) · GHSA-frmv-pr5f-9mcr (GitHub Security Advisories)Source: ENISA EUVD
- Public exploit or proof-of-concept code is available
A fix is available — apply it.
- CVSS v3
- 9.1
- EG Score
- 9.1CRITICALmedium confidence
- EG Risk
- 72EG Risk 72/100
EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.
How it’s computed (value × EchelonGraph’s weight)Severity91% × 45%Impact severity (EG Severity): CVSS 9.1 of 10. Never the KEV-floored or EPSS-lifted EG Score.Exploitation40% × 40%EchelonGraph's fixed weight for EG-KEV Tier 3 (Elevated): a constant, not a probability.Automatability100% × 15%CISA's SSVC Automatable value: yes (Vulnrichment).SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Attend at high (mission-essential systems).Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 19%
- EPSS %ILE
- 97th
- KEV
- Not listed
What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)
The EG score (9.1): severity, escalated by confirmed exploitation. This CVE's 9.1 is its impact severity (EG Severity), not escalated.
- EG Severity
- 9.1 CRITICALCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.CISA-ADP (Vulnrichment) CVSS v3.1 · CVSS v3.1
- EG Likelihood
- 19% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-10-30). FIRST's exploitation probability, not an EchelonGraph model.
- Confirmed exploitation
- None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
- EG Priority
- SSVC Track at medium mission impactTrack at low or medium mission impact; Attend at high (mission-essential systems).CISA BOD 26-04: 3 days if the affected system is publicly exposed; 60 days if it is not.Each input and its source: the SSVC and BOD 26-04 blocks below.
SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Attend at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table
BOD 26-04 (CISA's remediation timeline, Table 1)3 days if the affected system is publicly exposed; 60 days if it is not.
In CISA KEV no (CISA's KEV catalog) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it
Published
November 5, 2025
Last Modified
June 17, 2026
Advisory Details (3)
Auto-updated Sep 16, 2026Django security releases issued: 5.2.8, 5.1.14, and 4.2.26 | Weblog | Django
https://www.djangoproject.com/weblog/2025/nov/05/security-releases/Archive of security issues | Django documentation | Django
https://docs.djangoproject.com/en/dev/releases/security/Vendor Advisories for CVE-2025-64459(7)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:1596Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Container Release Update
- RHSA-2025:23196Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Ansible DevSpaces Container Release Update
- RHSA-2025:23133Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Container Release Update
- RHSA-2025:23131Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Container Release Update
- RHSA-2025:23130Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Container Release Update
- RHSA-2025:23069Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update
- GHSA-frmv-pr5f-9mcrGitHub Security AdvisoriesCritical
Django vulnerable to SQL injection via _connector keyword argument in QuerySet and Q objects.
Patch Availability(8)
| Vendor / Ecosystem | Fix (by version range) / Patch | Released | Source |
|---|---|---|---|
| ubuntu | python3-django (3:5.2.4-1ubuntu2.1) @ questing | 2026-10-31 | ubuntu |
| redhat | ansible-automation-platform-26/hub-rhel9:1768873505 | 2026-01-29 | redhat |
| redhat | ansible-automation-platform-tech-preview/ansible-devspaces-rhel9:2.6-1765600296 | 2025-12-15 | redhat |
| redhat | ansible-automation-platform-25/lightspeed-rhel8:2.5 | 2025-12-11 | redhat |
| redhat | ansible-automation-platform-26/lightspeed-rhel9:2.6 | 2025-12-11 | redhat |
| redhat | ansible-automation-platform-24/lightspeed-rhel8:2.4 | 2025-12-11 | redhat |
| redhat | receptor-0:1.6.2-1.el9ap | 2025-12-10 | redhat |
| redhat | python3.11-django-0:4.2.26-2.el9ap | 2025-12-10 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(5 across 5 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| python-django | 2:2.2.24-1 ... 2:2.2.28-1~deb11u9 (12 versions) |
| — |
Debian:12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| python-django | 3:3.2.19-1 ... 3:3.2.21-1 (7 versions) |
| — |
Debian:13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| python-django | 3:4.2.23-1, 3:4.2.24-1, 3:4.2.25-1, 3:4.2.25-2, 3:4.2.26-1 |
| — |
Debian:14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| python-django | 3:4.2.23-1, 3:4.2.24-1, 3:4.2.25-1, 3:4.2.25-2 |
| — |
PyPI(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| django | 4.2 ... 5.2.7 (48 versions) |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(2)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 20× in last 7d / 69× in last 30d)
Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.
Showing the most recent 99 of 217 refreshes on record for this CVE.
A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 1 repeat row among the latest 100 is merged into the row it repeats. The 118 oldest rows on record are not shown and were not checked, so the counts can still include repeats.
- 2026-10-31 04:21 UTCEG score recompute
- 2026-10-31 04:21 UTCVendor advisory
- 2026-10-30 16:33 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-10-30 04:11 UTCEG score recompute
- 2026-10-30 04:11 UTCVendor advisory
- 2026-10-29 16:32 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-10-29 03:59 UTCEG score recompute
- 2026-10-28 16:30 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-10-28 03:51 UTCEG score recompute
- 2026-10-28 03:51 UTCVendor advisory
- 2026-10-27 16:30 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-10-27 03:28 UTCEG score recompute
- 2026-10-27 03:28 UTCVendor advisory
- 2026-10-25 23:12 UTCEG score recompute
- 2026-10-25 23:12 UTCVendor advisory
- 2026-10-25 16:31 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-10-25 16:11 UTCEG score recompute
- 2026-10-24 23:04 UTCEG score recompute
- 2026-10-24 23:04 UTCVendor advisory
- 2026-10-24 16:31 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-10-23 22:54 UTCEG score recompute
- 2026-10-23 22:54 UTCVendor advisory
- 2026-10-23 16:30 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-10-22 22:43 UTCEG score recompute
- 2026-10-22 22:43 UTCVendor advisory
Show 74 moreShow fewer
- 2026-10-22 16:33 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-10-21 22:28 UTCEG score recompute
- 2026-10-21 22:28 UTCVendor advisory
- 2026-10-21 16:31 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-10-20 22:16 UTCEG score recompute
- 2026-10-20 22:16 UTCVendor advisory
- 2026-10-20 16:31 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-10-19 22:05 UTCEG score recompute
- 2026-10-19 22:05 UTCVendor advisory
- 2026-10-19 16:31 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-10-18 20:53 UTCEG score recompute
- 2026-10-18 20:53 UTCVendor advisory
- 2026-10-18 16:31 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-10-18 05:20 UTCEG score recompute
- 2026-10-17 20:27 UTCEG score recompute
- 2026-10-17 20:27 UTCVendor advisory
- 2026-10-17 16:33 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-10-16 20:16 UTCEG score recompute
- 2026-10-16 20:16 UTCVendor advisory
- 2026-10-16 16:39 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-10-15 17:42 UTCEG score recompute
- 2026-10-15 17:42 UTCVendor advisory
- 2026-10-15 16:31 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-10-14 16:31 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-10-14 11:35 UTCEG score recompute
- 2026-10-14 11:35 UTCVendor advisory
- 2026-10-13 16:33 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-10-13 10:39 UTCVendor advisory
- 2026-10-12 16:49 UTCEG score recompute
- 2026-10-12 10:21 UTCVendor advisory
- 2026-10-11 20:24 UTCEG score recompute
- 2026-10-11 18:36 UTCEG score recompute
- 2026-10-11 15:11 UTCEG score recompute
- 2026-10-11 13:47 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-10-10 19:59 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-10-09 20:06 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-10-08 17:10 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-10-07 23:47 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-10-06 15:17 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-10-05 17:42 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-10-04 23:21 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-10-03 14:25 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-10-02 01:10 UTCOSV refresh
- 2026-10-01 19:49 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-09-30 15:02 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-09-29 15:20 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-09-26 15:58 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-09-24 14:02 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-09-23 13:47 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-09-20 20:15 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-09-19 15:42 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-09-18 19:27 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-09-17 19:30 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-09-16 14:07 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-09-15 03:10 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-09-12 18:36 UTCOSV refresh
- 2026-09-12 15:00 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-09-11 14:52 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-09-11 09:36 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-09-10 09:34 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-09-08 22:00 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-09-06 13:47 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-09-04 05:06 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-09-02 14:11 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-09-01 13:53 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-08-30 19:16 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-08-30 01:21 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-08-28 21:40 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-08-27 14:24 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-08-26 14:45 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-08-25 13:48 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-08-24 23:44 UTCOSV refresh
- 2026-08-24 14:16 UTCEPSS rescoreEPSS 19% · 97th percentile
- 2026-08-23 00:18 UTCEPSS rescoreEPSS 19% · 97th percentile
Publicly available exploits
(3 references)Public exploit code is referenced for this CVE (1 Exploit-DB entry, 2 GitHub PoCs). Defenders should treat patch urgency accordingly.
- Exploit-DBEDB-52456Published Dec 3, 2025
Django 5.1.13 - SQL Injection
Open source ↗ - GitHub PoC0xCyberstan/CVE-2025-64459-PocPublished Dec 1, 2025
Vulnerability: SQL Injection via QuerySet and Q() keyword argument unpacking. CVE ID: CVE-2025-64459 Severity: Critical (CVSS 9.1) Affected Versions: Django 5.1 < 5.1.14, 4.2 < 4.2.26, and 5.2 < 5.2.8. Researcher: Cyberstan (University of Warwick)
Open source ↗ - GitHub PoComarkurt/django-connector-CVE-2025-64459-testbedPublished Nov 21, 2025
A self-contained testbed for Django CVE-2025-64459. Demonstrates QuerySet.filter() parameter injection via dictionary expansion using Docker.
Open source ↗
Related CVEs(same product + same vendor + same CWE)
Same product
10 shownDebian:11:python-django
- CVE-2014-0474EG 10.0EPSS p92HIGH
- CVE-2026-4277EG 9.8CRITICAL
- CVE-2025-59681EG 9.8CRITICAL
- CVE-2023-31047EG 9.8CRITICAL
- CVE-2022-34265EG 9.8EPSS p99CRITICAL
- CVE-2022-28347EG 9.8CRITICAL
- CVE-2022-28346EG 9.8EPSS p97CRITICAL
- CVE-2020-7471EG 9.8EPSS p99CRITICAL
- CVE-2019-19844EG 9.8EPSS p99CRITICAL
- CVE-2019-14234EG 9.8EPSS p99CRITICAL
Same vendor
10 shownredhat:RHSA-2025:23131 · redhat:RHSA-2025:23069 · redhat:RHSA-2025:23196
Frequently asked(5)
What is CVE-2025-64459?
When was CVE-2025-64459 made public?
Is CVE-2025-64459 actively exploited?
What is the CVSS score of CVE-2025-64459?
How do I remediate CVE-2025-64459?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2025-64459
Is Your Infrastructure Affected by CVE-2025-64459?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.