CVE-2026-1207: Potential SQL injection via raster lookups on PostGIS
- Is it exploited?
Reported, not confirmed by CISA. VulnCheck KEV lists it as exploited in the wild. CISA has not added it to its Known Exploited Vulnerabilities catalog as of .
VulnCheck KEV lists it since . It cites 68 public reports, the first from .
- How likely is exploitation in the next 30 days?
- 12.8%
EPSS score, percentile 96.3 of all scored records. A probability estimated by FIRST, not a report of exploitation.
- How severe?
- 5.4 Medium
CVSS v3.1 base score, from CISA's enrichment of the record
- What should I do?
CISA has set no required action, because the vulnerability is not in KEV.
- Which versions are affected?
Affected
- from 6.0 to before 6.0.2
- from 5.2 to before 5.2.11
- from 4.2 to before 4.2.28
Unaffected 6.0.2; 5.2.11; 4.2.28
Source: CISA KEV 2026.10.29, as of ; VulnCheck KEV, as of ; FIRST EPSS, as of ; CVE List, as of . About the data.
Description
Potential SQL injection via raster lookups on PostGIS
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.
Source: CVE List, as of . About the data.
What to do
Advisories and patches
This summary is based on the CVE record as of . Check the vendor's advisory before you act: affected versions and fixes can change.
Affected products and versions
Versions by product, as listed in the CVE record (1 product)
| Status | Versions |
|---|---|
| Affected | from 6.0 to before 6.0.2 |
| Unaffected | 6.0.2 |
| Affected | from 5.2 to before 5.2.11 |
| Unaffected | 5.2.11 |
| Affected | from 4.2 to before 4.2.28 |
| Unaffected | 4.2.28 |
Versions not listed are: unaffected.
Versions the record lists as unaffected: 6.0.2, 5.2.11, 4.2.28.
Source: CVE List, as of . About the data.
Weakness
CWE-89, 1 CAPEC
- CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Attack patterns (CAPEC)
- CAPEC-66: SQL Injection
CWE and CAPEC are maintained by MITRE; the entries are those named in the CVE record.
Timeline
| Date | Event |
|---|---|
| CVE record published | |
| CVE record last updated |