Skip to main content
VulnerabilityPublished Updated

CVE-2025-64459: Python django · An issue was discovered in 5.1 before 5.1.14, 4.2 before 4.2.26, and 5.2 before 5.2.8

Affects python-djangoSource GCVE Database

0
Compare
Authoritative record:CVE-2025-64459· Critical 9.1

Public exploit available (Exploit-DB) · 19% EPSS · CVSS 9.1 Critical · fixed in 2:2.2.12-1ubuntu0.29+esm5 : patch python-django as a priority.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
19.2% chance of exploitation in 30 days – higher than 97% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2:2.2.12-1ubuntu0.29+esm5, 2:3.2.12-2ubuntu1.23, 3:4.2.11-1ubuntu1.12 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Exploitation evidence

t = 0 is the CVE’s publication on cve.org

  1. Disclosed: evidence found.

    CVE published 5 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  4. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

Timeline

  1. CVE ID reserved

    by Django Software Foundation

    , 25 hours before disclosure

  2. CVE published

    on cve.org

    , t = 0

  3. In Threat Radar

    record ingested

    , 12 minutes after disclosure

  4. First Exploit-DB entry (opens in a new tab)

    Django 5.1.13 - '_connector' SQL Injection (SQLi)

    , 28 days after disclosure

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 25.10python-djangopkg:deb/ubuntu/python-django?arch=source&distro=questingOther threatsAffected
  • <3:5.2.4-1ubuntu2.1
Fixed in
  • 3:5.2.4-1ubuntu2.1
Ubuntu 24.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=nobleOther threatsAffected
  • <3:4.2.11-1ubuntu1.12
Fixed in
  • 3:4.2.11-1ubuntu1.12
Ubuntu 22.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=jammyOther threatsAffected
  • <2:3.2.12-2ubuntu1.23
Fixed in
  • 2:3.2.12-2ubuntu1.23
Ubuntu Pro 20.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=esm-infra/focalOther threatsAffected
  • <2:2.2.12-1ubuntu0.29+esm5
Fixed in
  • 2:2.2.12-1ubuntu0.29+esm5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…