ADVISORIES

Vulnerability

CVE-2025-64459

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.

24 advisories report this vulnerability, across 8 ecosystems.

Advisories in Debian

  • DEBIAN-CVE-2025-64459

    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…

    CVE-2025-64459 Debian Updated 1 September 2026
  • DLA-4425-1

    python-django - security update

    CVE-2025-64459CVE-2025-64460 Debian Updated 20 November 2026
  • DSA-6117-1

    python-django - security update

    CVE-2025-13372CVE-2025-57833CVE-2025-59681CVE-2025-59682 Debian Updated 20 November 2026
  • DSA-6136-1

    python-django - security update

    CVE-2019-14232CVE-2023-41164CVE-2023-43665CVE-2024-24680 Debian Updated 20 November 2026

References