Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Django versions 4.2 before 4.2.27, 5.1 before 5.1.15, and 5.2 before 5.2.9 are affected. An attacker who can influence the keyword arguments passed to QuerySet.annotate() or QuerySet.alias() on PostgreSQL, through a crafted dictionary expanded as **kwargs, can inject SQL through FilteredRelation column aliases. Upgrade to Django 4.2.27, 5.1.15, or 5.2.9. Earlier unsupported series may also be affected and were not evaluated.
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 |
|---|---|---|---|---|
| 4.3 | Medium | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N | GitHub Advisory Database |
- CISA KEV Not listed.
- EPSS 0.0093, the 61st percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:11 UTC First seen by agentprime
- 31 Oct 2026, 14:11 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-rqw2-ghq9-44m7
- OSV: GHSA-rqw2-ghq9-44m7
- nvd.nist.gov/vuln/detail/CVE-2025-13372
- github.com/django/django/commit/479415ce5249bcdebeb6570c72df2a87f45a7bbf
- github.com/django/django/commit/56aea00c3c5e1aacf4ed05f8ee06c2e78f02cea0
- github.com/django/django/commit/5b90ca1e7591fa36fccf2d6dad67cf1477e6293e
- github.com/django/django/commit/9c6a5bde24240382807d13bc3748d08444709355
- github.com/django/django/commit/f997037b235f6b5c9e7c4a501491ec45f3400f3d
- docs.djangoproject.com/en/dev/releases/security
- github.com/django/django
- github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-104.yaml
- groups.google.com/g/django-announce
- www.djangoproject.com/weblog/2025/dec/02/security-releases