Skip to content
NewA calmer, faster ZeroHour

Django patches GeoDjango RasterField RCE dubbed Django4Shell

Original title: New Django4Shell Vulnerability Enables Django RCE via GeoDjango Form Validation

The Hacker News ()3 min read2 · 2 reads
Part of a story covered by 2 sourcesDjango patches Django4Shell GeoDjango file-write flawMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

Staff-authenticated RasterField assignment can write attacker-chosen files, including web shells, until Django is upgraded.

Django maintainers released 6.1.4, 6.0.11, and 5.2.20 to fix seven issues, led by CVE-2026-124827 (CVSS 9.0), named Django4Shell by Mohamed K. Fathy of Robusta Technology Group. Assigning a crafted raster to GeoDjango RasterField can make GDAL write a file to an attacker-chosen path and, depending on the driver, run code as the web server user. The same releases also fix SQL injection in range and in lookups, XSS in truncatechars_html, and cache poisoning via dot segments. Fathy says exploitation mainly requires staff-level authentication plus a RasterField exposed through admin or ModelForms.

Unconfirmed: No confirmed in-the-wild exploitation is stated; exposure claims come from the researcher.

Key facts
  • Fixed releases are Django 6.1.4, 6.0.11, and 5.2.20.
  • CVE-2026-124827 is described as an incomplete fix following CVE-2026-87890 and CVE-2026-15307.
  • Other fixes are CVE-2026-132092, CVE-2026-115868, and CVE-2026-125673.
  • Fathy says a crafted JSON raster can overwrite source, drop web shells, or plant sitecustomize.py.
Security assessment · AI, from the article

Impact: Arbitrary file write and remote code execution as the web server user

ProductAffectedFixed in
Django—6.1.4, 6.0.11, and 5.2.20
What to do
  1. 1.Upgrade Django to 6.1.4, 6.0.11, or 5.2.20.
  2. 2.Review GeoDjango models that expose RasterField through admin, ModelForms, or writable serializers.
Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-132092
+3 related CVEs
SQL injection in Django range and in lookups
9.3
group max
—

From the original article

3 min read at thehackernews.com

The maintainers of Django have released versions 6. 1. 4, 6.

The Hacker News

thehackernews.com

Read the full article at The Hacker News

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.