Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Django versions from 4.2 before 4.2.24, 5.1 before 5.1.12, and 5.2 before 5.2.6 are vulnerable to SQL injection through column aliases in FilteredRelation. An attacker who can supply a crafted dictionary expanded as keyword arguments to QuerySet.annotate() or QuerySet.alias() may be able to inject SQL. Upgrade django to 4.2.24, 5.1.12, or 5.2.6, depending on your release series.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.1 | High | 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N | CNA (mitre) |
- CISA KEV Not listed.
- EPSS 0.28, the 98th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:34 UTC First seen by agentprime
- 31 Oct 2026, 14:34 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-6w2r-r2m5-xq5w
- OSV: GHSA-6w2r-r2m5-xq5w
- nvd.nist.gov/vuln/detail/CVE-2025-57833
- github.com/django/django/commit/102965ea93072fe3c39a30be437c683ec1106ef5
- github.com/django/django/commit/31334e6965ad136a5e369993b01721499c5d1a92
- github.com/django/django/commit/4c044fcc866ec226f612c475950b690b0139d243
- docs.djangoproject.com/en/dev/releases/security
- github.com/django/django
- github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-105.yaml
- groups.google.com/g/django-announce
- lists.debian.org/debian-lts-announce/2025/09/msg00017.html
- medium.com/@EyalSec/django-unauthenticated-0-click-rce-and-sql-injection-using-default-configuration-059964f3f898
- www.djangoproject.com/weblog/2025/sep/03/security-releases
- www.openwall.com/lists/oss-security/2025/09/03/3