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.
CVSS Details
- CVSS 3.1 Base Score: 5.4
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade py3-django | Feb 10, 2026 | Feb 3, 2026 |
| Debian | — | Upgrade python-django | Feb 23, 2026 | Feb 23, 2026 |
| Suse | — | Upgrade python3-djangoUpgrade python311-DjangoUpgrade python313-Django | Feb 5, 2026 | Feb 5, 2026 |
| Ubuntu | — | Upgrade python-django (Ubuntu Pro)Upgrade python3-djangoUpgrade python3-django (Ubuntu Pro) | Feb 4, 2026 | Feb 3, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub