CVE-2025-57833
HIGH 8.1EPSS 26.1%
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().
- Affected
- djangoproject · Django
- CVSS v3.1 NVD
- 8.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS v3.1 MITRE
- 7.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N - EPSS
- 26.11% chance of exploitation in the next 30 days, 98th percentile
- Published
- 2025-09-03
- Updated
- 2025-11-04
Proof-of-concept exploits (5)
- Mkway/CVE-2025-578332★ · 2025-09-08
- loic-houchi/Django-faille-CVE-2025-57833_test2★ · 2025-09-09
- Gayang2902/CVE-2025-578331★ · 2025-11-27
- ianoboyle/CVE-2025-578331★ · 2025-10-08
- sw0rd1ight/CVE-2025-578336★ · 2025-11-30
Security advisories
- 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
- https://medium.com/@EyalSec/django-unauthenticated-0-click-rce-and-sql-injection-using-de…
- advisories/GHSA-6w2r-r2m5-xq5w