VDB

DEBIAN-CVE-2025-59681

DEBIAN-CVE-2025-59681 PUBLISHED CVSS 9.800000190734863 CRITICAL

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).

Risk Scores

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

Affected Products

VendorProductVersions
Debian:13python-django0, 3:4.2.24-1, 3:4.2.25-1
Debian:11python-django2.2.28-1, 2:2.2.24-1, 2:2.2.25-1~deb11u1
Debian:14python-django3:4.2.24-1, 0, 0
Debian:12python-django3:3.2.19-1, 3:3.2.19-1+deb12u1, 3:3.2.19-1+deb12u2

Timeline

  • Oct 1, 2025 CVE Published
  • Apr 28, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›