CVE-2022-28346

CRITICAL

Django <4.0.4 - SQL Injection

Title source: llm

Description

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.

Exploits (5)

nomisec WORKING POC 25 stars
by DeEpinGh0st · poc
https://github.com/DeEpinGh0st/CVE-2022-28346
nomisec WORKING POC 2 stars
by YouGina · poc
https://github.com/YouGina/CVE-2022-28346
nomisec WORKING POC 1 stars
by kamal-marouane · poc
https://github.com/kamal-marouane/CVE-2022-28346
nomisec WORKING POC
by vincentinttsh · poc
https://github.com/vincentinttsh/CVE-2022-28346

Scores

CVSS v3 9.8
EPSS 0.0197
EPSS Percentile 83.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-89
Status published
Products (4)
debian/debian_linux 9.0
debian/debian_linux 11.0
djangoproject/django 2.2 - 2.2.28
pypi/Django 2.2 - 2.2.28PyPI
Published Apr 12, 2022
Tracked Since Feb 18, 2026