GHSA-frmv-pr5f-9mcr · Severity: critical · Ecosystem: pip — Django vulnerable to SQL injection via _connector keyword argument in QuerySet and Q objects.
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.
Conclusion & alert: CVE-2025-64459 is rated High Exploit Risk (68.2/100): CVSS Critical severity, with low exploitation likelihood (EPSS 0.26%). Core evidence: 2 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| 52456 | exploit_db | edb | 2025-12-03 | Exploit-DB ↗ |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-04-20 | 0.58% | 0.26% | -0.32% |
| 2 | 2026-04-03 | 0.20% | 0.58% | +0.37% |
| 3 | 2026-02-16 | — | 0.20% | — |
Full EPSS history (5 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.1 | 3.1 | CRITICAL |
|
3.9 | 5.2 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
GHSA-frmv-pr5f-9mcr · Severity: critical · Ecosystem: pip — Django vulnerable to SQL injection via _connector keyword argument in QuerySet and Q objects.
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2025-64459: 1 source package rows (py3-django); 2 state rows across 2 repos (3.22-community, edge-community); fixed 2, open 0. | https://security.alpinelinux.org/vuln/CVE-2025-64459 |
debian
|
not yet assigned | CVE-2025-64459 not yet assigned priority: Debian including 1 source packages (python-django), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2025-64459 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2025-64459 |
ubuntu
|
medium | CVE-2025-64459 medium priority: Ubuntu including 1 source packages (python-django), 9 status rows across 9 suites (bionic, focal, jammy, noble, plucky, questing, trusty, upstream, xenial): released 6, not-affected 3. | https://ubuntu.com/security/CVE-2025-64459 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| djangoproject | django | >= 4.2, < 4.2.26 | cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
| djangoproject | django | >= 5.1, < 5.1.14 | cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
| djangoproject | django | >= 5.2, < 5.2.8 | cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://docs.djangoproject.com/en/dev/releases/security/ | Vendor Advisory |
| https://groups.google.com/g/django-announce | Mailing List |
| https://www.djangoproject.com/weblog/2025/nov/05/security-releases/ | Vendor Advisory |
| https://shivasurya.me/security/django/2025/11/07/django-sql-injection-CVE-2025-64459.html | Exploit Third Party Advisory |