nday
CVE-2025-64459

Potential SQL injection via _connector keyword argument in QuerySet and Q objects

djangoproject / Django

Preuve de concept publique parue 28 jours après la divulgation. nday n’a encore aucune trace de correctif ; cela ne veut pas dire qu’il n’en existe pas. Cette vulnérabilité figure dans une seule des 4 sources de PoC : exploitdb. Aucune inscription au catalogue KEV de la CISA à ce jour.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

SQL injection
CWE-89, stated by the CNA DSF et NVD, republishing 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N (CVSS 3.1) from the ADP CISA-ADP
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N (CVSS 3.1) from the ADP CISA-ADP
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N (CVSS 3.1) from the ADP CISA-ADP
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N (CVSS 3.1) from the ADP CISA-ADP
Exploit-DB
Exploit-DB entries 52456
Django
affected products in the CVE record: djangoproject · DjangoCPE names NVD's analysts give as vulnerable: a:djangoproject:django
open-source library / framework
affected products in the CVE record: djangoproject · DjangoCPE names NVD's analysts give as vulnerable: a:djangoproject:djangothe product type of Django in nday's product registry
étape actuelle
POC
divulgation
délai avant PoC
T+28d POC : date seule
CVSS
9.1 CRITICAL v3.1

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
2025-11-05T15:09Z
PATcorrectif
aucune donnée
ANAanalyse
aucune donnée
POCPoC
2025-12-03, date seule
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

CVSS 3.1 vector from the CVE record, added by the ADP CISA-ADP.

Journal des événements

+DISdivulgation

Fiche CVE publiée par DSF. CVSS 9.1, gravité critique.

source cvelist · importé en masse par nday le · brut
{
  "id": 58797,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2025-64459",
  "occurred_at": "2025-11-05T15:09:58.239Z",
  "observed_at": "2026-11-12T16:27:38.849571Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "adp:CISA-ADP",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
      "version": "3.1",
      "base_score": 9.1,
      "base_severity": "CRITICAL"
    },
    "ssvc": {
      "timestamp": "2025-11-06T04:55:36.221321Z",
      "automatable": "yes",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2025-11-05T15:09:58.239Z",
    "assigner_short_name": "DSF"
  }
}
2025-12-03date seule, selon la source
+POCPoC publique

Exploit-DB recense un code d’exploitation public : « Django 5.1.13 - SQL Injection » (EDB-52456).

source exploitdb 52456 · importé en masse par nday le · brut
{
  "id": 27727,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/52456",
  "occurred_at": "2025-12-03T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "52456",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/52456",
    "file": "exploits/multiple/webapps/52456.py",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "Django 5.1.13 - SQL Injection",
    "author": "Wafcontrol Security Team",
    "edb_id": 52456,
    "cve_ids": [
      "CVE-2025-64459"
    ],
    "platform": "multiple",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2025-12-03",
    "date_updated": "2025-12-03",
    "date_published": "2025-12-03"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.