PoC Monitor
← All CVEs
CVE-2025-59681published 1 Oct 2025 00:00 UTCData: JSON · API

Djangoproject Django

An issue was discovered in Django 4.2 before 4.2.25, 5.1 before 5.1.13, and 5.2 before 5.2.7. QuerySet.annotate(), QuerySet.alias(), QuerySet.aggregate(), and QuerySet.extra() are subject to SQL injection in column aliases, when using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed to these methods (on MySQL and MariaDB).

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.8critical · scored by NVD · CWE-89
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

djangoproject Django
  • >= 4.2, < 4.2.25
  • >= 5.1, < 5.1.13
  • >= 5.2, < 5.2.7

Fixed in 4.2.25, 5.1.13, 5.2.7

Mitigation

Upgrade Django to 4.2.25 or 5.1.13 or 5.2.7 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published1 Oct 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.