
Django Releases Security Updates Fixing High-Severity Django4Shell RCE in GeoDjango
Django maintainers have issued versions 6.1.4, 6.0.11, and 5.2.20 to address seven vulnerabilities, including the high-severity CVE-2026-124827 known as Django4Shell. The flaw resides in the GeoDjango RasterField component and stems from insufficient validation of user-controlled raster data, enabling an authenticated attacker to write arbitrary files to any accessible server path. This can lead to remote code execution through multiple vectors such as dropping Python files, overwriting source code, or deploying web shells. The issue represents an incomplete remediation of earlier vulnerabilities CVE-2026-87890 and CVE-2026-15307, both of which also involved server-side file write and request forgery problems. Applications using PostGIS with RasterField exposed via the admin, ModelForms, or writable serializers are particularly at risk. Orca Security notes that exploitation is possible via crafted JSON raster bodies leveraging a user-controlled name parameter and non-default GDAL drivers. The updates also resolve additional issues including XSS, cache poisoning, information disclosure, heap buffer overflow, and SQL injection.
SecurityWeekDec 3, 2026Translated from English