Django, the popular open-source web framework, has released critical security updates addressing a high-severity vulnerability known as Django4Shell, identified as CVE-2026-124827. This flaw, which carries a CVSS score of 8.8, could potentially allow for remote code execution (RCE) and has proof-of-concept exploit details already available to the public. The vulnerability affects the GeoDjango RasterField component, where insufficient validation of user-controlled raster data could enable an authenticated attacker to write arbitrary files to the server. This flaw is an incomplete fix of previous vulnerabilities CVE-2026-87890 and CVE-2026-15307, making it a recurring attack surface.

Django maintainers have released versions 6.1.4, 6.0.11, and 5.2.20 to address this issue among others, such as vulnerabilities related to XSS, cache poisoning, information disclosure, heap buffer overflow, and SQL injection. The RasterField flaw is particularly concerning because it defaults to CharField form fields, making it accessible by default in models registered in the admin or through ModelForms or writable model serializers.

Organizations using GeoDjango applications running on PostGIS with defined RasterFields should update immediately to mitigate the risk. Attackers could exploit this flaw by crafting a JSON raster body with a user-controlled 'name' parameter and a non-default GDAL driver, potentially leading to severe compromises such as deploying web shells or corrupting configuration files.