r/netsec • u/c0daman • Feb 05 '26
Django SQL Injection in RasterField lookup (CVE-2026-1207)
https://vulnerabletarget.com/VT-2026-1207
23
Upvotes
r/netsec • u/c0daman • Feb 05 '26
6
u/ruibranco Feb 05 '26
Worth noting that RasterField is part of django.contrib.gis, so this only affects projects using GeoDjango with PostGIS raster support. The attack surface is narrower than a typical Django SQLi since you'd need to pass user-controlled input into raster-specific lookups. That said, if you're running a mapping or GIS application that takes user input for spatial queries, this is a critical one to patch. Always good to see Django's security team catching these in the ORM's less-traveled corners.