{"id":76244,"date":"2026-02-03T18:06:23","date_gmt":"2026-02-03T14:36:23","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-1312-potential-sql-injection-via-queryset-order_by-and-filteredrelation\/"},"modified":"2026-02-03T18:06:23","modified_gmt":"2026-02-03T14:36:23","slug":"cve-2026-1312-potential-sql-injection-via-queryset-order_by-and-filteredrelation","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-1312-potential-sql-injection-via-queryset-order_by-and-filteredrelation\/","title":{"rendered":"CVE-2026-1312 &#8211; Potential SQL injection via QuerySet.order_by and FilteredRelation"},"content":{"rendered":"<p>CVE ID : CVE-2026-1312<\/p>\n<p>Published :  Feb. 3, 2026, 2:36 p.m. | 41\u00a0minutes ago<\/p>\n<p>Description : An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28.<br \/>\n`.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`.<br \/>\nEarlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.<br \/>\nDjango would like to thank Solomon Kebede for reporting this issue.<\/p>\n<p>Severity: 0.0 | NA<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2026-1312 Published : Feb. 3, 2026, 2:36 p.m. | 41\u00a0minutes ago Description : 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, &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-76244","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/76244","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=76244"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/76244\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=76244"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=76244"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=76244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}