SQL Injection in Djangoproject Django

CVE-2026-1312

An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28. `.QuerySet.order_by()` is subject to SQL injection in column aliases containing periods when the same alias is, using a suitably crafted dictionary, wit…

Vulnerability class: SQL Injection

EPSS: 0.000 (1.6th percentile) — read the EPSS interpretation.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2026-1312?
CVE-2026-1312 is a vulnerability in Djangoproject Django, classified under SQL Injection. Published 2026-02-03.
Is CVE-2026-1312 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.