BREAKING NEWS · VERIFIED

Django patches 'Django4Shell' flaw leading to RCE (CVE-2026-124827)

Django patches 'Django4Shell' flaw leading to RCE (CVE-2026-124827)

Django's maintainers have released security updates — versions 6.1.4, 6.0.11 and 5.2.20 — fixing seven security bugs, including a high-severity flaw that can lead to remote code execution.

The most serious issue, CVE-2026-124827 (CVSS 8.8), dubbed "Django4Shell," sits in GeoDjango's RasterField. Insufficient validation of user-controlled raster data lets an authenticated attacker write arbitrary files to the server — to any accessible path — which can enable remote code execution through multiple vectors, including dropping Python files, writing into site-packages, overwriting source code, or deploying web shells.

Django's maintainers note the flaw was reachable by default on models with RasterField registered in the admin or using ModelForms or writable model serializers, because RasterField falls back to the CharField form field. Any GeoDjango application running on PostGIS that defines a RasterField may be vulnerable, especially where RasterField is exposed via the admin, ModelForms, or writable serializers.

The flaw is an incomplete fix for an earlier server-side request forgery issue (CVE-2026-87890, patched in October), itself an incomplete fix for a file-write and request forgery bug patched in August (CVE-2026-15307); the earlier protections did not extend to the RasterField assignment path. Public proof-of-concept details for Django4Shell are available.

The same releases also fix cross-site scripting, cache poisoning, information disclosure, heap buffer overflow, and SQL injection vulnerabilities. Anyone running Django should update to 6.1.4, 6.0.11 or 5.2.20 immediately.

Source: Django security releases (djangoproject.com) via SecurityWeek · Primary source

← Back to the live Threat Wire · Full Threat Wire →