BIT-django-2025-59681

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/django/BIT-django-2025-59681.json
JSON Data
https://api.osv.dev/v1/vulns/BIT-django-2025-59681
Aliases
Published
2025-10-08T08:40:24.312Z
Modified
2025-10-08T09:27:09.795387Z
Summary
[none]
Details

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

Database specific
{
    "cpes": [
        "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*"
    ],
    "severity": "Critical"
}
References

Affected packages

Bitnami / django

Package

Name
django
Purl
pkg:bitnami/django

Severity

  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
4.2.0
Fixed
4.2.25
Introduced
5.1.0
Fixed
5.1.13
Introduced
5.2.0
Fixed
5.2.7