CVE-2025-57833SQL Injection
NVDCVSS scored by cve@mitre.org
Vulnerability Summary
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().
CVSS v3.1 Base Metrics — Score 7.1 (HIGH)
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:NAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeChanged
ConfidentialityHigh
IntegrityLow
AvailabilityNone
Affected & Patched Versions
Not provided by NVD for this CVE.
No patched version published yet
Until a fix ships, reduce exposure:
- Restrict access to the affected service or interface to trusted networks.
- Disable the affected feature if you do not need it.
- Watch the vendor advisory for a firmware or software update.
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run the affected product and which version.
- No patched version is listed yet. Limit access to the affected service to trusted networks, and disable the feature if you can.
- Subscribe to the vendor advisory so you learn when a fix ships.
Timeline
- Sep 3, 2025Published
- Sep 8, 2025Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get alerts for CVEs like this oneYou are reading CVE-2025-57833. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsRelated Coverage
- CVE-2025-57833: A New SQL Injection Flaw Puts Django Web Applications at Risk
- Django Vulnerability CVE-2026-15307 Can Enable Remote Code Execution
- Django SQL Injection Flaw CVE-2026-1207 Is Being Exploited in the Wild
- Urgent Django Update: Patches 3 Critical SQL Injections & DoS Risks
- Django Flaw (CVE-2025-13372) Allows SQL Injection in PostgreSQL FilteredRelation
External References
- Vendor Advisoryhttps://docs.djangoproject.com/en/dev/releases/security/
- Referencehttps://groups.google.com/g/django-announce
- Referencehttps://medium.com/@EyalSec/django-unauthenticated-0-click-rce-and-sql-injection-using-default-configuration-059964f3f898
- Referencehttps://www.djangoproject.com/weblog/2025/sep/03/security-releases/
Data last checked: Nov 18, 2026 18:39 UTC