Rapid7

vulnerability

Ubuntu: USN-7794-1 (CVE-2025-59681): Django vulnerabilities

Severity
7
CVSS
(AV:N/AC:M/Au:S/C:C/I:P/A:N)
Published
Oct 1, 2025
Added
Oct 2, 2025
Modified
Apr 16, 2026

Description

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

Solutions

ubuntu-pro-upgrade-python-djangoubuntu-pro-upgrade-python3-djangoubuntu-upgrade-python3-django
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.