SQL Injection in Djangoproject Django
CVE-2025-57833
- CVSS v3
- 7.1 High
- Public exploits
- 5 repositories
- EPSS
- 0.283 · 98.2th percentile
- Published
- 2025-09-03
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().
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- High
AC:H - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Changed
S:C - Confidentiality
- High
C:H - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.283, 98.2th percentile (last changed ); up from 0.261 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.261 · newest: 0.283 · change: +0.022
Affected products
- Djangoproject Django — versions 4.2, 5.1, 5.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
5 public repositories with exploit or proof-of-concept code for this CVE:
- sw0rd1ight/CVE-2025-57833 (6 stars, last pushed 2025-11-30): Analysis and reproduction of CVE-2025-57833
- loic-houchi/Django-faille-CVE-2025-57833_test (2 stars, last pushed 2025-09-09)
- Mkway/CVE-2025-57833 (2 stars, last pushed 2025-09-08): We've set up an environment to test CVE-2025-57833. This environment was built using AI, so it's subject to ongoing modification.
- Gayang2902/CVE-2025-57833 (1 star, last pushed 2025-11-27): CVE-2025-57833 PoC (취약한 도서 검색 서비스)
- ianoboyle/CVE-2025-57833 (1 star, last pushed 2025-10-08): Example Vulnerable application for CVE-2025–57833
Also mentioned in 6 other repositories (ARPSyndicate/cve-scores, EyalSec/EyalSec_CVE, nomi-sec/PoC-in-GitHub, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- docs.djangoproject.com/en/dev/releases/security/ (Vendor Advisory)
- groups.google.com/g/django-announce (Vendor Advisory)
- www.djangoproject.com/weblog/2025/sep/03/security-releases/ (Vendor Advisory)
- medium.com/@EyalSec/django-unauthenticated-0-click-rce-and-sql-injection-using-… (Exploit, Third Party Advisory)
- www.openwall.com/lists/oss-security/2025/09/03/3
- lists.debian.org/debian-lts-announce/2025/09/msg00017.html
This CVE has public exploit evidence. See the latest CVEs with public exploits.