Django 4.2-4.2.27 5.2-5.2.10 6.0-6.0.1 - SQL Injection via RasterField Band Index Parameter
Title source: llmExploitation Summary
CVE-2026-1207 has been observed exploited in the wild (reported by VulnCheck KEV). EIP tracks 2 public exploits from researchers including AikidoSec, sw0rd1ight. A Nuclei detection template is also available.
AI-analyzed exploit summary This repository contains a functional proof-of-concept for CVE-2026-1207, demonstrating SQL injection via unsanitized band index in GeoDjango RasterField lookups. It includes both vulnerable and protected test cases to showcase the exploit and mitigation using Aikido Zen.
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.
Exploits (2)
This repository contains a functional proof-of-concept for CVE-2026-1207, demonstrating SQL injection via unsanitized band index in GeoDjango RasterField lookups. It includes both vulnerable and protected test cases to showcase the exploit and mitigation using Aikido Zen.
This repository contains a functional proof-of-concept for CVE-2026-1207, demonstrating a SQL injection vulnerability in Django GIS's RasterField. The exploit leverages unfiltered user input in the 'band' parameter to inject arbitrary SQL, with a provided delay-based PoC.
Nuclei Templates (1)
django
app="Django"
References (3)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N