CVE-2026-1207: djangoproject Django · SQL Injection
Affects djangoproject DjangoSource CVE Database V5
Not known to be exploited · public detection template (Nuclei) · 12% EPSS · CVSS 5.4 Medium · fixed in 6.0.2 : update djangoproject Django when convenient.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 12.8% chance of exploitation in 30 days – higher than 96% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.0.2, 5.2.11, 4.2.28
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 3 Feb 2026
Detectable: evidence found.
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade Django and django to 6.0.2, 5.2.11 or 4.2.28.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| djangoprojectDjango | Affected
| Fixed in
|
| djangoprojectDjango | Affected
| Fixed in
|
| djangoprojectDjango | Affected
| Fixed in
|
PyPIdjangopkg:pypi/djangoOther threats | Affected
| Fixed in
|
PyPIdjangopkg:pypi/djangoOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Official fixes are available for this vulnerability. Users should upgrade Django to versions 4.2.28 or later, 5.2.11 or later, or 6.0.2 or later to remediate the issue. Red Hat has issued security advisories and errata with updated packages addressing this vulnerability. Applying these vendor-provided patches is the recommended mitigation. Patch status is confirmed by vendor advisories linked in the references.
Description
An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28. Raster lookups on ``RasterField`` (only implemented on PostGIS) allows remote attackers to inject SQL via the band index parameter. 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 Tarek Nakkouch for reporting this issue.
References
- docs.djangoproject.com/en/dev/releases/security/ (opens in a new tab)
- groups.google.com/g/django-announce (opens in a new tab)
- djangoproject.com/weblog/2026/feb/03/security-releases/ (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-1207 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2436338 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-1207.json (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:3959 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:5971 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:3958 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:5970 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:14835 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:3962 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:3960 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:2694 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:6291 (opens in a new tab)