SQL Injection The advisory has been revoked - it doesn't affect any version of package python-django.src  (opens in a new tab)


Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
1.97% (84th 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 IDSNYK-RHEL10-PYTHONDJANGOSRC-12614777
  • published11 Sept 2025
  • disclosed11 Apr 2022

Introduced: 11 Apr 2022

CVE-2022-28346  (opens in a new tab)
CWE-89  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:10.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-django.src package and not the python-django.src package as distributed by RHEL.

An issue was discovered in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. QuerySet.annotate(), aggregate(), and extra() methods are subject to SQL injection in column aliases via a crafted dictionary (with dictionary expansion) as the passed **kwargs.