SQL Injection Affecting python3-django package, versions *


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.01% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-PYTHON3DJANGO-12552632
  • published8 Sept 2025
  • disclosed3 Sept 2025

Introduced: 3 Sep 2025

NewCVE-2025-57833  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:8 python3-django.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3-django package and not the python3-django package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1