ADVISORIES

Vulnerability

CVE-2025-59681

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

24 advisories report this vulnerability, across 8 ecosystems.

Advisories in openSUSE

  • SUSE-SU-2025:03446-1

    Security update for python-Django

    CVE-2025-59681CVE-2025-59682 SUSEopenSUSE Updated 4 February 2026
  • openSUSE-SU-2025:15596-1

    python311-Django4-4.2.25-1.1 on GA media

    CVE-2025-59681CVE-2025-59682 openSUSE Updated 23 March 2026
  • openSUSE-SU-2025:15598-1

    python311-Django-5.2.7-1.1 on GA media

    CVE-2025-59681CVE-2025-59682 openSUSE Updated 23 March 2026
  • openSUSE-SU-2025:20022-1

    Security update for python-Django

    CVE-2025-59681CVE-2025-59682 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:10005-1

    python312-Django6-6.0-1.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:11270-1

    python313-Django5-5.2.16-1.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 15 July 2026

References