CVE Watchtower

CVE-2026-1207Djangoproject Django SQL Injection

NVDCVSS scored by 134c704f-9b21-4f2e-91b3-4a467353bcc0

Vulnerability Summary

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.
Severity Level
MEDIUM(5.4)
Published Date
Feb 3, 2026
Last Modified
Jun 30, 2026
PoC
Available(Nuclei)
Exploitation Status
Public exploit available
EPSS Score (30-Day)
12.98%Probability
Root Weakness (CWE)
Improper neutralization of special elements used in an SQL command, allowing attackers to modify queries.
CVSS v3.1 Base Metrics — Score 5.4 (MEDIUM)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityLow
IntegrityLow
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • Djangoproject Django >= 4.2 and < 4.2.28
  • Djangoproject Django >= 5.2 and < 5.2.11
  • Djangoproject Django >= 6.0 and < 6.0.2
Patched Versions
  • Djangoproject Django 4.2.28
  • Djangoproject Django 5.2.11
  • Djangoproject Django 6.0.2

What to do

Prioritize this fix. Exploit code is public, so attacks can follow quickly.

  1. Check whether you run Djangoproject Django and which version.
  2. Update to a patched version listed above, then confirm the new version.
  3. Review logs and exposed services for signs of earlier compromise.

Timeline

  • Feb 3, 2026Published
  • Jun 30, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Djangoproject Django CVEsYou are reading CVE-2026-1207. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 13, 2026 21:28 UTC