CVE Tools

Django Patches ‘Django4Shell’ Flaw Leading to RCE

SecurityWeekBy Ionut Arghire

PoC publicDjango

Our summary

Django's maintainers have shipped versions 6.1.4, 6.0.11, and 5.2.20 to close seven security holes, the most severe being CVE-2026-124827, nicknamed Django4Shell. Carrying a CVSS score of 8.8, this flaw lets an authenticated user exploit the GeoDjango RasterField component—because it falls back to CharField behavior, insufficient validation of raster input allows arbitrary file writes anywhere the server can access, opening the door to remote code execution via web shells, overwritten source files, or tampered configs. Proof-of-concept code is already circulating publicly. Notably, this is the third attempt at a fix in this chain: it builds on an incomplete patch for CVE-2026-87890 (SSRF, fixed in October), which itself only partially addressed CVE-2026-15307 (file-write/request forgery, fixed in August). Any PostGIS-backed GeoDjango app exposing RasterField through the admin panel, ModelForms, or writable serializers is at risk, and the new release also patches XSS, cache poisoning, info disclosure, heap overflow, and SQL injection issues—administrators should upgrade immediately.

Read at SecurityWeek

SecurityWeek publishes this story on its own site; we link to it rather than reprint it.

Worried this affects your company?

Discuss a security assessment of your internet-facing systems. Scope agreed before testing.

Check my exposure