Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Django versions 4.2 before 4.2.28, 5.2 before 5.2.11, and 6.0 before 6.0.2 are vulnerable to SQL injection through QuerySet.order_by() when column aliases containing periods are used with FilteredRelation and a crafted dictionary expanded into the query. The source does not describe the attacker's required access or privileges. Upgrade to Django 4.2.28, 5.2.11, or 6.0.2, depending on the series in use. Earlier unsupported series such as 5.0.x, 4.1.x, and 3.2.x were not evaluated and may also be affected.
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 |
|---|---|---|---|---|
| 5.4 | Medium | 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N | GitHub Advisory Database |
- CISA KEV Not listed.
- EPSS 0.0090, the 60th percentile, on 16 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-6426-9fv3-65x8
- OSV: GHSA-6426-9fv3-65x8
- nvd.nist.gov/vuln/detail/CVE-2026-1312
- github.com/django/django/commit/005d60d97c4dfb117503bdb6f2facfcaf9315d84
- github.com/django/django/commit/69065ca869b0970dff8fdd8fafb390bf8b3bf222
- docs.djangoproject.com/en/dev/releases/security
- github.com/django/django
- github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-47.yaml
- groups.google.com/g/django-announce
- www.djangoproject.com/weblog/2026/feb/03/security-releases