CVE-2026-1312
BaseFortify
Publication date: 2026-02-03
Last updated on: 2026-02-04
Assigner: Django Software Foundation
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| djangoproject | django | From 4.2 (inc) to 4.2.28 (exc) |
| djangoproject | django | From 5.2 (inc) to 5.2.11 (exc) |
| djangoproject | django | From 6.0 (inc) to 6.0.2 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-89 | The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in certain versions of Django before 6.0.2, 5.2.11, and 4.2.28. It involves the `.QuerySet.order_by()` method being susceptible to SQL injection attacks when column aliases contain periods and are used with dictionary expansion in `FilteredRelation`. This means that specially crafted input can manipulate the SQL query in unintended ways.
How can this vulnerability impact me? :
The vulnerability can allow an attacker with some level of privileges to perform SQL injection, potentially leading to unauthorized access or modification of data. The CVSS score indicates a low to medium severity with impacts on confidentiality and integrity but no impact on availability.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
I don't know