CVE-2026-1207
Potential SQL injection via raster lookups on PostGIS
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.
INFO
Published Date :
Feb. 3, 2026, 3:16 p.m.
Last Modified :
Feb. 4, 2026, 5:34 p.m.
Remotely Exploit :
Yes !
Source :
6a34fbeb-21d4-45e7-8e0a-62b95bc12c92
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
Solution
- Update Django to version 6.0.2 or later.
- Update Django to version 5.2.11 or later.
- Update Django to version 4.2.28 or later.
Public PoC/Exploit Available at Github
CVE-2026-1207 has a 3 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-1207.
| URL | Resource |
|---|---|
| https://docs.djangoproject.com/en/dev/releases/security/ | Vendor Advisory Patch |
| https://groups.google.com/g/django-announce | Release Notes |
| https://www.djangoproject.com/weblog/2026/feb/03/security-releases/ | Patch Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-1207 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-1207
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Dockerfile Shell Python HTML JavaScript CSS PHP Hack SCSS Java
None
Dockerfile Python
None
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-1207 vulnerability anywhere in the article.
-
reddit.com
Django SQL Injection in RasterField lookup (CVE-2026-1207)
Let us know your cookie preferences Reddit uses cookies and similar technologies to: Keep the website operational and running properly Prevent fraud and abuse Monitor site usage and performance metric ... Read more
-
CybersecurityNews
Critical Django Vulnerabilities Enables DoS and SQL Injection Attacks
Django Vulnerabilities The development team has issued urgent security updates to fix six critical vulnerabilities affecting multiple versions of the popular Python web framework.The flaws, which incl ... Read more
-
Daily CyberSecurity
Urgent Django Update: Patches 3 Critical SQL Injections & DoS Risks
The maintainers of the popular Python web framework Django have issued an urgent security release to squash a cluster of high-severity vulnerabilities that could allow attackers to manipulate database ... Read more
The following table lists the changes that have been made to the
CVE-2026-1207 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Feb. 04, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions from (including) 4.2 up to (excluding) 4.2.28 *cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions from (including) 5.2 up to (excluding) 5.2.11 *cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions from (including) 6.0 up to (excluding) 6.0.2 Added Reference Type Django Software Foundation: https://docs.djangoproject.com/en/dev/releases/security/ Types: Patch, Vendor Advisory Added Reference Type Django Software Foundation: https://groups.google.com/g/django-announce Types: Release Notes Added Reference Type Django Software Foundation: https://www.djangoproject.com/weblog/2026/feb/03/security-releases/ Types: Patch, Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Feb. 03, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N -
New CVE Received by 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92
Feb. 03, 2026
Action Type Old Value New Value Added 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. Added CWE CWE-89 Added Reference https://docs.djangoproject.com/en/dev/releases/security/ Added Reference https://groups.google.com/g/django-announce Added Reference https://www.djangoproject.com/weblog/2026/feb/03/security-releases/