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.
CVE-2026-1312
“—” beside the score: it is equal to the CVSS score beside it.
This medium-severity CVE scores 5.4 under CISA-ADP (Vulnrichment) CVSS v3.1 (NVD's own analysis pending). EPSS exploit probability: 0.9% (59th percentile of EPSS-scored CVEs). No GitHub Security Advisory CVSS is on record for this CVE.
- Public exploit or proof-of-concept code is available
A fix is available — apply it.
- CVSS v3
- 5.4
- EG Score
- 5.4MEDIUMmedium confidence
- EG Risk
- 40EG Risk 40/100
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computed (value × EchelonGraph’s weight)Severity54% × 45%The EG Score, 5.4 of 10.Exploitation40% × 40%EchelonGraph's fixed weight for EG-KEV Tier 3 (Elevated): a constant, not a probability.Automatability0% × 15%CISA's SSVC Automatable value: no (Vulnrichment).SSVC (CISA's decision table, applied by EchelonGraph): Track at every mission impact level.Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.Action: A fix is available. Apply it within your standard update timelines. - EPSS PROB
- 0.9%
- EPSS %ILE
- 59th
- KEV
- Not listed
SSVC (CISA's decision table, applied by EchelonGraph)Track at every mission impact level.
A fix is available. Apply it within your standard update timelines.
Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table
BOD 26-04 (CISA's remediation timeline, Table 1)60 days if the affected system is publicly exposed; Fix on system upgrade if it is not.
In CISA KEV no (CISA's KEV catalog) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it
Published
February 3, 2026
Last Modified
July 15, 2026
Advisory Details (10)
Auto-updated Jul 19, 2026Django security releases issued: 6.0.2, 5.2.11, and 4.2.28 | Weblog | Django
https://www.djangoproject.com/weblog/2026/feb/03/security-releases/Archive of security issues | Django documentation | Django
https://docs.djangoproject.com/en/dev/releases/security/Vendor Advisories for CVE-2026-1312(10)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:14835Red Hat Product SecurityHigh
Red Hat Security Advisory: Satellite 6.18.5 Async Update
- RHSA-2026:6291Red Hat Product SecurityHigh
Red Hat Security Advisory: General availability of the satellite/iop-advisor-backend-rhel9 container image
- RHSA-2026:5971Red Hat Product SecurityHigh
Red Hat Security Advisory: Satellite 6.16.7 Async Update
- RHSA-2026:5970Red Hat Product SecurityHigh
Red Hat Security Advisory: Satellite 6.17.7 Async Update
- RHSA-2026:3959Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update
- RHSA-2026:3962Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Container Release Update
- RHSA-2026:3960Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Container Release Update
- RHSA-2026:3958Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update
- +2 more
Patch Availability(9)
| Vendor / Ecosystem | Fix (by version range) / Patch | Released | Source |
|---|---|---|---|
| ubuntu | python3-django (2:2.2.12-1ubuntu0.29+esm7) @ focal | 2026-06-07 | ubuntu |
| redhat | python3.12-django-0:4.2.30-1.el9pc | 2026-05-07 | redhat |
| redhat | satellite/iop-advisor-backend-rhel9:1773451075 | 2026-03-31 | redhat |
| redhat | python-django-0:4.2.28-0.1.el9pc | 2026-03-26 | redhat |
| redhat | yggdrasil-worker-forwarder-0:0.0.3-4.el9sat | 2026-03-26 | redhat |
| redhat | python3.12-django-0:4.2.28-1.el9ap | 2026-03-06 | redhat |
| redhat | ansible-automation-platform-25/lightspeed-rhel8:1772214630 | 2026-03-06 | redhat |
| redhat | ansible-automation-platform-26/lightspeed-rhel9:1772552788 | 2026-03-06 | redhat |
| redhat | discovery/discovery-server-rhel9:1770913597 | 2026-02-12 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(5 across 5 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| python-django | 2:2.2.24-1 ... 2:2.2.28-1~deb11u9 (14 versions) |
| — |
Debian:12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| python-django | 3:3.2.19-1 ... 3:3.2.25-0+deb12u1 (8 versions) |
| — |
Debian:13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| python-django | 3:4.2.23-1 ... 3:4.2.27-2 (8 versions) |
| — |
Debian:14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| python-django | 3:4.2.23-1 ... 3:4.2.27-2 (7 versions) |
| — |
PyPI(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| django | 4.2 ... 6.0.1 (41 versions) |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(1)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 12× in last 7d / 26× in last 30d)
Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.
Showing the most recent 95 of 158 refreshes on record for this CVE.
A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 5 repeat rows among the latest 100 are merged into the row they repeat. The 63 oldest rows on record are not shown and were not checked, so the counts can still include repeats.
- 2026-10-14 16:32 UTCEPSS rescoreEPSS 0.9% · 59th percentile
- 2026-10-13 16:33 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-10-12 16:35 UTCEG score recompute
- 2026-10-12 16:33 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-10-11 20:11 UTCEG score recompute
- 2026-10-11 18:24 UTCEG score recompute
- 2026-10-11 14:57 UTCEG score recompute
- 2026-10-11 13:48 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-10-10 19:59 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-10-09 20:06 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-10-08 18:04 UTCOSV refresh
- 2026-10-08 17:11 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-10-07 23:47 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-10-06 15:17 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-10-05 17:42 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-10-04 23:21 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-10-01 19:49 UTCEPSS rescoreEPSS 0.9% · 56th percentile
- 2026-09-30 15:03 UTCEPSS rescoreEPSS 0.9% · 56th percentile
- 2026-09-29 15:21 UTCEPSS rescoreEPSS 0.9% · 56th percentile
- 2026-09-28 13:51 UTCEPSS rescoreEPSS 0.9% · 56th percentile
- 2026-09-27 13:47 UTCEPSS rescoreEPSS 0.9% · 56th percentile
- 2026-09-26 15:58 UTCEPSS rescoreEPSS 0.9% · 56th percentile
- 2026-09-18 23:42 UTCOSV refresh
- 2026-09-18 19:27 UTCEPSS rescoreEPSS 0.8% · 56th percentile
- 2026-09-16 14:07 UTCEPSS rescoreEPSS 0.8% · 55th percentile
Show 70 moreShow fewer
- 2026-09-16 05:14 UTCEPSS rescoreEPSS 0.8% · 55th percentile
- 2026-09-13 16:46 UTCEPSS rescoreEPSS 0.8% · 55th percentile
- 2026-09-12 15:00 UTCEPSS rescoreEPSS 0.8% · 55th percentile
- 2026-09-11 14:52 UTCEPSS rescoreEPSS 0.8% · 55th percentile
- 2026-09-11 09:36 UTCEPSS rescoreEPSS 0.8% · 55th percentile
- 2026-09-10 09:34 UTCEPSS rescoreEPSS 0.8% · 55th percentile
- 2026-09-08 22:00 UTCEPSS rescoreEPSS 0.8% · 55th percentile
- 2026-09-06 13:47 UTCEPSS rescoreEPSS 0.8% · 55th percentile
- 2026-09-04 05:06 UTCEPSS rescoreEPSS 0.8% · 55th percentile
- 2026-09-02 14:11 UTCEPSS rescoreEPSS 0.8% · 55th percentile
- 2026-09-01 13:53 UTCEPSS rescoreEPSS 0.8% · 54th percentile
- 2026-09-01 04:39 UTCEPSS rescoreEPSS 0.8% · 54th percentile
- 2026-08-31 03:32 UTCOSV refresh
- 2026-08-30 19:17 UTCEPSS rescoreEPSS 0.8% · 54th percentile
- 2026-08-30 01:22 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
- 2026-08-28 21:41 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
- 2026-08-27 14:25 UTCEPSS rescoreEPSS 0.8% · 54th percentile
- 2026-08-26 14:46 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
- 2026-08-25 13:48 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
- 2026-08-23 00:19 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
- 2026-08-21 23:49 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
- 2026-08-20 22:55 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
- 2026-08-19 17:03 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
- 2026-08-18 13:48 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
- 2026-08-17 13:47 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
- 2026-08-16 14:56 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
- 2026-08-16 02:14 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
- 2026-08-15 01:30 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
- 2026-08-14 11:35 UTCEG score recompute
- 2026-08-14 11:35 UTCVendor advisory
- 2026-08-13 22:00 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
- 2026-08-13 03:45 UTCEG score recompute
- 2026-08-13 03:45 UTCVendor advisory
- 2026-08-12 13:50 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
- 2026-08-11 13:42 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
- 2026-08-11 00:00 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
- 2026-08-09 16:05 UTCEG score recompute
- 2026-08-09 16:05 UTCVendor advisory
- 2026-08-09 13:46 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
- 2026-08-08 16:37 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
- 2026-08-07 22:56 UTCEG score recompute
- 2026-08-07 22:56 UTCVendor advisory
- 2026-08-06 13:46 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
- 2026-08-06 04:29 UTCEG score recompute
- 2026-08-06 04:29 UTCVendor advisory
- 2026-08-05 19:17 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
- 2026-08-04 15:10 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
- 2026-08-04 10:38 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
- 2026-08-03 10:35 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
- 2026-08-02 21:37 UTCEG score recompute
- 2026-08-02 21:37 UTCVendor advisory
- 2026-08-02 02:26 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
- 2026-08-01 04:15 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
- 2026-07-31 00:51 UTCOSV refresh
- 2026-07-30 01:30 UTCEPSS rescoreEPSS 0.8% · 52nd percentile
- 2026-07-27 14:13 UTCEPSS rescoreEPSS 0.8% · 52nd percentile
- 2026-07-26 14:54 UTCEPSS rescoreEPSS 0.8% · 52nd percentile
- 2026-07-25 14:17 UTCEPSS rescoreEPSS 0.8% · 52nd percentile
- 2026-07-24 14:17 UTCEPSS rescoreEPSS 0.8% · 52nd percentile
- 2026-07-23 14:18 UTCEPSS rescoreEPSS 0.8% · 52nd percentile
- 2026-07-23 03:05 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescoreEPSS 0.8% · 52nd percentile
- 2026-07-21 15:24 UTCEPSS rescoreEPSS 0.8% · 52nd percentile
- 2026-07-20 17:08 UTCEPSS rescoreEPSS 0.8% · 52nd percentile
- 2026-07-19 14:31 UTCEPSS rescoreEPSS 0.8% · 52nd percentile
- 2026-07-19 02:28 UTCEPSS rescoreEPSS 0.8% · 52nd percentile
- 2026-07-18 10:04 UTCEPSS rescoreEPSS 0.8% · 52nd percentile
- 2026-07-16 17:02 UTCEPSS rescoreEPSS 0.8% · 52nd percentile
- 2026-07-15 16:57 UTCEPSS rescoreEPSS 0.8% · 52nd percentile
- 2026-07-15 02:00 UTCEPSS rescoreEPSS 0.8% · 52nd percentile
Publicly available exploits
(1 reference)Public exploit code is referenced for this CVE (1 GitHub PoC). Defenders should treat patch urgency accordingly.
- GitHub PoCsw0rd1ight/CVE-2026-1312Published Feb 21, 2026
Analysis and reproduction of CVE-2026-1312
Open source ↗
Related CVEs(same product + same vendor + same CWE)
Same product
10 shownDebian:11:python-django
- CVE-2014-0474EG 10.0EPSS p92HIGH
- CVE-2026-4277EG 9.8CRITICAL
- CVE-2025-59681EG 9.8CRITICAL
- CVE-2023-31047EG 9.8CRITICAL
- CVE-2022-34265EG 9.8EPSS p99CRITICAL
- CVE-2022-28347EG 9.8CRITICAL
- CVE-2022-28346EG 9.8EPSS p97CRITICAL
- CVE-2020-7471EG 9.8EPSS p99CRITICAL
- CVE-2019-19844EG 9.8EPSS p99CRITICAL
- CVE-2019-14234EG 9.8EPSS p99CRITICAL
Same vendor
10 shownredhat:RHSA-2026:14835 · redhat:RHSA-2026:2694 · redhat:RHSA-2026:3958
Frequently asked(5)
What is CVE-2026-1312?
When was CVE-2026-1312 made public?
Is CVE-2026-1312 actively exploited?
What is the CVSS score of CVE-2026-1312?
How do I remediate CVE-2026-1312?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-1312
Is Your Infrastructure Affected by CVE-2026-1312?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.