VDB
DEBIAN-CVE-2026-1312
DEBIAN-CVE-2026-1312
PUBLISHED
CVSS 5.400000095367432 MEDIUM
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, with dictionary expansion, used in `FilteredRelation`. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Solomon Kebede for reporting this issue.
Risk Scores
CVSS 3.1
5.400000095367432
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Debian:11 | python-django | 2.2.28-1, 2.2.26-1, 2.2.25-1 |
| Debian:13 | python-django | 3:4.2.23-1, 3:4.2.24-1, 3:4.2.25-1 |
| Debian:14 | python-django | *, 4.2.27-2, 4.2.27-1 |
| Debian:12 | python-django | 3:3.2.19-1+deb12u1, 3.2.20-1.1, 0 |
Exploit Intelligence
- alpinine/CVE-2026-1312-Testing (github-poc-repo)
- alpinine/CVE-2026-1312-Testing (github-poc)
- CVE-2026-1312.json (github-poc)
Timeline
- Feb 3, 2026 CVE Published
- Apr 28, 2026 CVE Updated