BIT-django-2025-57833

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/django/BIT-django-2025-57833.json
JSON Data
https://api.osv.dev/v1/vulns/BIT-django-2025-57833
Aliases
Published
2025-09-25T08:40:38Z
Modified
2026-09-10T16:01:31Z
Summary
[none]
Details

An issue was discovered in Django 4.2 before 4.2.24, 5.1 before 5.1.12, and 5.2 before 5.2.6. FilteredRelation is subject to SQL injection in column aliases, using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed QuerySet.annotate() or QuerySet.alias().

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

Affected packages

Bitnami / django

Package

Name
django
Purl
pkg:bitnami/django

Severity

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

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.2.24
Introduced
5.0.0
Fixed
5.1.12
Introduced
5.2.0
Fixed
5.2.6

Database specific

source
"https://github.com/bitnami/vulndb/tree/main/data/django/BIT-django-2025-57833.json"