Skip to content
NewA calmer, faster ZeroHour

Django patches Django4Shell RasterField flaw that can lead to RCE

Original title: Django Patches ‘Django4Shell’ Flaw Leading to RCE

SecurityWeekby Ionut Arghire ()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

Authenticated attackers can write arbitrary files through GeoDjango RasterField; fixes are 6.1.4, 6.0.11, and 5.2.20, with a public PoC.

Django maintainers released versions 6.1.4, 6.0.11, and 5.2.20 to fix seven security bugs, including high-severity CVE-2026-124827, dubbed Django4Shell. Insufficient validation of user-controlled raster data in GeoDjango RasterField lets an authenticated attacker write arbitrary files, which can lead to remote code execution. GeoDjango applications on PostGIS that expose RasterField through the admin, ModelForms, or writable serializers are especially affected. Orca Security says a crafted JSON raster body can be used, and a proof of concept is public.

Unconfirmed: The report does not say attackers are exploiting CVE-2026-124827 in real attacks.

Key facts
  • CVE-2026-124827 has a CVSS score of 8.8 and publicly available proof-of-concept details.
  • RasterField falls back to CharField, so admin and ModelForm paths are reachable by default.
  • Maintainers describe it as an incomplete fix for earlier SSRF and file-write bugs.
  • The same updates also fix XSS, cache poisoning, disclosure, heap overflow, and SQL injection.
Security assessment · AI, from the articlePublic proof of concept

Impact: Authenticated arbitrary file write that can lead to RCE

ProductAffectedFixed in
DjangoGeoDjango RasterField installs before the fixed releases6.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.Check GeoDjango apps on PostGIS that expose RasterField via admin, ModelForms, or writable serializers.
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 securityweek.com

Users should patch immediately, as proof-of-concept (PoC) exploit details are publicly available. The post Django Patches ‘Django4Shell’ Flaw Leading to RCE appeared first on SecurityWeek.

SecurityWeek

By Ionut Arghire · securityweek.com

Read the full article at SecurityWeek

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.