Skip to content
NewA calmer, faster ZeroHour

Django patches GeoDjango file-write flaw called Django4Shell

Original title: High-Severity Django4Shell Vulnerability Could Allow Hackers to Compromise Web Servers

GBHackersby Divya ()2 min read
Part of a story covered by 5 sourcesDjango patches Django4Shell file-write flaw in three releasesMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

CVE-2026-124827 can write files through RasterField and sometimes lead to code execution; no exploitation is confirmed.

Django released 6.1.4, 6.0.11, and 5.2.20 on December 2, 2026, to fix a high-severity GeoDjango flaw tracked as CVE-2026-124827 and called Django4Shell. Untrusted raster definitions processed through RasterField and GDAL can write a file to an attacker-chosen location; code execution depends on the raster driver and filesystem permissions. Geometry fields are unaffected. The patch makes RasterField noneditable by default and rejects non-default drivers in dictionary and JSON definitions, but Django says server-side request forgery can remain if untrusted input is assigned to the field.

Unconfirmed: No exploitation is confirmed, a standalone proof of concept was not verified, and code execution depends on the driver and permissions.

Key facts
  • Researcher Mohammed Fathy reported the RasterField issue.
  • Django admin access needs a staff account; public forms may need none.
  • Previdian reported no confirmed exploitation and no verified standalone proof of concept.
  • The main development branch was patched as well.
  • Administrators should verify the running version after upgrading.
Security assessment · AI, from the articleNo known exploitation

Impact: Attacker-controlled file writes and possible remote code execution

ProductAffectedFixed in
Django GeoDjango RasterField—6.1.4, 6.0.11, and 5.2.20
What to do
  1. 1.Upgrade affected deployments to Django 6.1.4, 6.0.11, or 5.2.20.
  2. 2.Review public raster endpoints, writable serializers, and staff forms.
  3. 3.Validate raster input before assigning it to RasterField.
Analyze CVE-2026-124827 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-124827
Arbitrary file creation in Django RasterField via name
8.73%PoC ×5

From the original article

2 min read at gbhackers.com

Django has released versions 6. 1. 4, 6.

GBHackers

By Divya · gbhackers.com

Read the full article at GBHackers

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.