CVE-2026-1207

Potential SQL injection via raster lookups on PostGIS

MEDIUM
5.4
CVSS Score
Published: February 3, 2026 at 02:35 PM UTC
Updated: July 15, 2026 at 02:18 AM UTC
4 products affected across 2 vendorsDjangoSatelliteAnsible Automation Platform

Using Django by djangoproject?

Get instant alerts when new vulnerabilities affect Django - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.4
Exploit prediction
EPSS 13%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.2 ≤ v < 4.2.285.2 ≤ v < 5.2.116.0 ≤ v < 6.0.24.25.26.0
Vendor states this is fixed in 4.2.28 (unaffected)
Vendor states this is fixed in 5.2.11 (unaffected)
Vendor states this is fixed in 6.0.2 (unaffected)
Vendor states this is fixed in 0:4.2.28-1.el8ap (unaffected)
Vendor states this is fixed in 0:4.2.28-1.el9ap (unaffected)
Vendor states this is fixed in 1772214630 (unaffected)
Vendor states this is fixed in 1772552788 (unaffected)
Vendor states this is fixed in 2 (unaffected)
Vendor states this is fixed in 0:0.0.3-4.el9sat (unaffected)
Vendor states this is fixed in 0:0.1.23-0.3.el9pc (unaffected)
Vendor states this is fixed in 0:0.13.0-1.el9sat (unaffected)
Vendor states this is fixed in 0:0.4.3-1.el9sat (unaffected)
Vendor states this is fixed in 0:1.2.0-0.1.el9pc (unaffected)
Vendor states this is fixed in 0:1.5.1-1.el9sat (unaffected)
Vendor states this is fixed in 0:2.22.3-1.el9pc (unaffected)
Vendor states this is fixed in 0:3.14.0.14-1.el9sat (unaffected)
Vendor states this is fixed in 0:3.27.10-2.el9pc (unaffected)
Vendor states this is fixed in 0:4.16.0.14-1.el9sat (unaffected)
Vendor states this is fixed in 0:4.2.28-0.1.el8pc (unaffected)
Vendor states this is fixed in 0:4.2.28-0.1.el9pc (unaffected)
Vendor states this is fixed in 0:4.2.30-1.el9pc (unaffected)
Vendor states this is fixed in 0:6.17.7-1.el9sat (unaffected)
Vendor states this is fixed in 1773451075 (unaffected)
All versions

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (15)

Mailing ListRelease Notes
Source: cverecord
https://groups.google.com/g/django-announce
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:14835
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:2694
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:3958
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:3959
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:3960

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.4MEDIUMCISA-ADP
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-89

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card