Django Patches ‘Django4Shell’ Flaw Leading to RCE
Source SecurityWeek
Mentioned vulnerabilities
Not known to be exploited · CVSS 8.8 High · fixed in 6.1.4 : patch Django soon.
Data as of 3 Dec 2026, 12:29 UTC
- Patch
- Available – fixed in 6.1.4, 6.0.11, 5.2.20
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Upgrade Django and django to 6.1.4, 6.0.11 or 5.2.20.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Djangodjango | Affected
| Fixed in
|
| Djangodjango | Affected
| Fixed in
|
| Djangodjango | Affected
| Fixed in
|
PyPIdjangopkg:pypi/djangoOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Django maintainers have released official patches in versions 6.1.4, 6.0.11, and 5.2.20 that fully address this vulnerability along with other security issues. Users should immediately upgrade to one of these fixed versions to mitigate the risk. No alternative mitigations or workarounds are indicated. Applying the official updates is the recommended and effective remediation.
Description
A high-severity remote code execution (RCE) vulnerability named Django4Shell (CVE-2026-124827) affects the GeoDjango RasterField component of the Django web framework. The flaw allows authenticated attackers to write arbitrary files to the server due to insufficient validation of user-controlled raster data. This vulnerability is a persistent issue related to incomplete fixes of previous SSRF and file-write bugs. Exploitation can lead to dropping malicious Python files, overwriting source code, deploying web shells, or corrupting configuration files. Django versions 6.1.4, 6.0.11, and 5.2.20 have been released to address this and other security issues. Users of GeoDjango applications with RasterField, especially those exposing it via admin interfaces or writable serializers, should update immediately.