7.1
HIGH CVSS 3.1
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 !
Affected Products

The following products are affected by CVE-2025-57833 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Djangoproject django
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
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 the latest version to fix SQL injection vulnerabilities.
  • 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:

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

Updated: 2 days ago
0 stars 0 fork 0 watcher
Born at : Sept. 5, 2025, 5:03 a.m. This repo has been linked 1 different CVEs too.

监控Github最新网络安全相关的仓库...

cve cybersecurity github spider

Shell Python Nix

Updated: 9 hours, 27 minutes ago
25 stars 4 fork 4 watcher
Born at : May 9, 2025, 2:29 p.m. This repo has been linked 27 different CVEs too.

None

Updated: 11 hours, 21 minutes ago
1 stars 0 fork 0 watcher
Born at : April 4, 2025, 1:04 a.m. This repo has been linked 2 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 14 hours, 19 minutes ago
7250 stars 1200 fork 1200 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 814 different CVEs too.

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

Published Date: Sep 04, 2025 (2 days, 23 hours ago)

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/
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.1
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact