Django Patches Django4Shell RCE Flaw in GeoDjango RasterField

· Original article ↗

Summary

Django updates fix CVE-2026-124827, a high-severity GeoDjango RasterField flaw that could let an authenticated attacker write arbitrary files and potentially achieve RCE. Public PoC details are available.

Key points

  • Django released versions 6.1.4, 6.0.11 and 5.2.20 to address seven security bugs.
  • CVE-2026-124827 affects GeoDjango RasterField; an authenticated attacker could write files to accessible system paths and potentially enable RCE.
  • The flaw may affect GeoDjango applications using PostGIS that define RasterField, especially when exposed through the admin, ModelForms or writable model serializers.
  • Orca Security says exploitation could use a crafted JSON raster body with a user-controlled name parameter and a non-default GDAL driver.
  • The flaw is described as an incomplete fix for earlier issues CVE-2026-87890 and CVE-2026-15307.
  • The updates also address XSS, cache poisoning, information disclosure, heap buffer overflow and SQL injection vulnerabilities.

Article Details

Vulnerability Types
  • Arbitrary file write
  • Remote code execution
Severity
High (CVSS 8.8)
Exploitation Status
unknown
Exploit Availability
public_poc
Patch Status
available

MITRE ATT&CK

CVE

Products

Related Articles