CVE-2025-57833
Django FilteredRelation SQL Injection
Description
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().
INFO
Published Date :
Sept. 3, 2025, 9:15 p.m.
Last Modified :
Sept. 4, 2025, 3:35 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | HIGH | [email protected] | ||||
CVSS 3.1 | HIGH | MITRE-CVE |
Solution
- Update Django to version 4.2.24 or later.
- Update Django to version 5.1.12 or later.
- Update Django to version 5.2.6 or later.
Public PoC/Exploit Available at Github
CVE-2025-57833 has a 4 public
PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-57833
.
URL | Resource |
---|---|
https://docs.djangoproject.com/en/dev/releases/security/ | |
https://groups.google.com/g/django-announce | |
https://www.djangoproject.com/weblog/2025/sep/03/security-releases/ |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-57833
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-57833
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
We've set up an environment to test CVE-2025-57833. This environment was built using AI, so it's subject to ongoing modification.
Dockerfile Shell Python HTML
监控Github最新网络安全相关的仓库...
cve cybersecurity github spider
Shell Python Nix
None
📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.
security cve exploit poc vulnerability
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-57833
vulnerability anywhere in the article.

-
CybersecurityNews
Django Critical Vulnerability Let attackers Execute Malicious SQL Code on Web Servers
The Django development team has issued critical security updates to address a high-severity vulnerability that could allow attackers to execute malicious SQL code on web servers using the popular fram ... Read more
The following table lists the changes that have been made to the
CVE-2025-57833
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by [email protected]
Sep. 03, 2025
Action Type Old Value New Value Added Description 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(). Added CVSS V3.1 AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N Added CWE CWE-89 Added Reference https://docs.djangoproject.com/en/dev/releases/security/ Added Reference https://groups.google.com/g/django-announce Added Reference https://www.djangoproject.com/weblog/2025/sep/03/security-releases/