Public exploit available
Public proof-of-concept or exploit code exists (ExploitDB / Metasploit / Nuclei).

CVE-2026-1207SQL Injection in Django

CWE-89SQL Injection13 documents11 sources
Severity
5.4MEDIUMNVD
EPSS
4.4%
top 10.95%
CISA KEV
Not in KEV
Exploit
PoC available
Public exploit / PoC exists
Affected products
Timeline
PublishedFeb 3
Latest updateFeb 16

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NExploitability: 2.8 | Impact: 2.5

Affected Packages3 packages

CVEListV5djangoproject/django6.06.0.2+2
NVDdjangoproject/django4.24.2.28+2
PyPIdjangoproject/django6.0a16.0.2+2

Patches

🔴Vulnerability Details

6
OSV
Django has an SQL Injection issue2026-02-03
GHSA
Django has an SQL Injection issue2026-02-03
OSV
CVE-2026-1207: An issue was discovered in 62026-02-03
CVEList
Potential SQL injection via raster lookups on PostGIS2026-02-03
OSV
python-django vulnerabilities2026-02-03

💥Exploits & PoCs

1
Nuclei
Django RasterField - SQL Injection

🔍Detection Rules

1
Suricata
ET WEB_SPECIFIC_APPS Django SQL Injection via raster lookups on PostGIS (CVE-2026-1207)2026-02-16

📋Vendor Advisories

3
Red Hat
Django: Django: SQL Injection via RasterField band index parameter2026-02-03
Ubuntu
Django vulnerabilities2026-02-03
Debian
CVE-2026-1207: python-django - An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4...2026

🕵️Threat Intelligence

1
Wiz
CVE-2026-1207 Impact, Exploitability, and Mitigation Steps | Wiz
CVE-2026-1207 — SQL Injection in Djangoproject Django | cvebase