5.4Mittel

CVE-2026-1312Potential SQL injection via QuerySet.order_by and FilteredRelation

djangoproject Django; Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8; Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 9; Red Hat Red Hat A… Veröffentlicht: (vor 9 Monaten)

Beschreibung

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.

Schwachstellentyp (CWE): CWE-89

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
ansible automation platform 2.5 —
ansible automation platform 2.6 —
discovery 2 —
djangoproject Django 6.0 – < 6.0.2, fixed 6.0.2, 5.2 – < 5.2.11, fixed 5.2.11, 4.2 – < 4.2.28, fixed 4.2.28
Red Hat Red Hat Ansible Automation Platform 2 all versions
Red Hat Red Hat Ansible Automation Platform 2.5 all versions
Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8 all versions
Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 9 all versions
Red Hat Red Hat Ansible Automation Platform 2.6 all versions
Red Hat Red Hat Ansible Automation Platform 2.6 for RHEL 9 all versions
Red Hat Red Hat Discovery 2 all versions
Red Hat Red Hat OpenStack Platform 16.2 —
Red Hat Red Hat OpenStack Platform 17.1 —
Red Hat Red Hat OpenStack Platform 18.0 —
Red Hat Red Hat Satellite 6 all versions
Red Hat Red Hat Satellite 6.16 for RHEL 8 all versions
Red Hat Red Hat Satellite 6.16 for RHEL 9 all versions
Red Hat Red Hat Satellite 6.17 for RHEL 9 all versions
Red Hat Red Hat Satellite 6.18 all versions
Red Hat Red Hat Satellite 6.18 for RHEL 9 all versions
Red Hat Red Hat Update Infrastructure 4 for Cloud Providers all versions
rhui 4 —
satellite 6.16 —
satellite 6.18 —
satellite capsule 6.16 —
satellite capsule 6.18 —
satellite maintenance 6.17 —
satellite utils 6.17 —

Referenzen und Patches

CPE-Treffer (NVD) (3)

  • cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* ≥ 4.2 < 4.2.28
  • cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* ≥ 5.2 < 5.2.11
  • cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* ≥ 6.0 < 6.0.2