Canadian Cyber Security Journal
SOCIAL:
Filed under: TechTalk

Django4Shell CVE-2026-124827: Third Fix for GeoDjango Raster Flaw Requires Immediate Upgrade

What Happened

The Django4Shell vulnerability, CVE-2026-124827 (CVSS 9.0), is the third fix for the same GeoDjango attack path since August. Django released versions 6.1.4, 6.0.11 and 5.2.20 to address seven flaws, The Hacker News reports. Researcher Mohamed K. Fathy of Robusta Technology Group found and named the bug.

The flaw is an incomplete fix for CVE-2026-87890, an SSRF bug patched in October. CVE-2026-87890 was itself an incomplete fix for CVE-2026-15307, a raster file-write bug patched in August. The new bug sits in the RasterField assignment path, which earlier protections missed. An attacker who controls the path, content and filename through a crafted JSON raster body writes files to the server. Planting a sitecustomize.py or .pth file leads to remote code execution.

Exploitation requires staff-level authentication, a RasterField exposed through a ModelForm or the default admin, a GDAL build with the EHdr driver and a writable working directory. The release also fixes SQL injection (CVE-2026-132092), cross-site scripting (CVE-2026-115868) and cache poisoning (CVE-2026-125673).

Why This Matters for Canadian Organizations

GeoDjango powers mapping and spatial data applications. In Canada, you find it in municipal GIS portals, provincial land and resource systems, environmental monitoring tools, university research platforms and logistics startups. Many of these hold location data tied to people and property, which brings PIPEDA, Quebec Law 25 and provincial privacy laws into play.

The staff-login requirement limits mass exploitation. It does not remove the risk. Phished or reused staff credentials turn this flaw into full server compromise. Three rounds of incomplete fixes also signal the raster parsing code deserves extra scrutiny. The SQL injection fix matters to every Django team, GIS or not.

What to Do

Upgrade to Django 6.1.4, 6.0.11 or 5.2.20. Test raster handling before deployment, since raster bytes must now be wrapped in GDALRaster, a backward-incompatible change. If patching must wait, remove RasterField fields from the admin and ModelForms, and drop the EHdr driver from your GDAL build where possible. Enforce MFA on all staff and admin accounts. Audit the working directory for unexpected .pth or sitecustomize.py files. Track related patch guides in our TechTalk section and today’s Daily Brief.

Source: The Hacker News

Enjoy this article? Don’t forget to share.