Bug 2436342 (CVE-2026-1312) - CVE-2026-1312 Django: Django: SQL injection via crafted column aliases in QuerySet.order_by()
Summary: CVE-2026-1312 Django: Django: SQL injection via crafted column aliases in Que...
Keywords:
Status: NEW
Alias: CVE-2026-1312
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2436700 2436693 2436694 2436696 2436699 2436705
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-02-03 15:01 UTC by OSIDB Bzimport
Modified: 2026-03-26 20:26 UTC (History)
45 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:3958 0 None None None 2026-03-06 10:14:00 UTC
Red Hat Product Errata RHSA-2026:3959 0 None None None 2026-03-06 10:56:11 UTC
Red Hat Product Errata RHSA-2026:5970 0 None None None 2026-03-26 20:25:55 UTC
Red Hat Product Errata RHSA-2026:5971 0 None None None 2026-03-26 20:26:54 UTC

Description OSIDB Bzimport 2026-02-03 15:01:41 UTC
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.

Comment 5 errata-xmlrpc 2026-03-06 10:13:55 UTC
This issue has been addressed in the following products:

  Red Hat Ansible Automation Platform 2.6 for RHEL 9
  Red Hat Ansible Automation Platform 2.6 for RHEL 10

Via RHSA-2026:3958 https://access.redhat.com/errata/RHSA-2026:3958

Comment 6 errata-xmlrpc 2026-03-06 10:56:07 UTC
This issue has been addressed in the following products:

  Red Hat Ansible Automation Platform 2.5 for RHEL 8
  Red Hat Ansible Automation Platform 2.5 for RHEL 9

Via RHSA-2026:3959 https://access.redhat.com/errata/RHSA-2026:3959

Comment 7 errata-xmlrpc 2026-03-26 20:25:51 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.17 for RHEL 9

Via RHSA-2026:5970 https://access.redhat.com/errata/RHSA-2026:5970

Comment 8 errata-xmlrpc 2026-03-26 20:26:50 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.16 for RHEL 8
  Red Hat Satellite 6.16 for RHEL 9

Via RHSA-2026:5971 https://access.redhat.com/errata/RHSA-2026:5971


Note You need to log in before you can comment on or make changes to this bug.