Short answer: A new Django4Shell vulnerability allows attackers to execute code on Django servers. Update to the latest version immediately.
TL;DR
- Can lead to remote code execution
- Update to latest version to secure
- Check GeoDjango usage for risk
What is CVE-2026-124827?
Django4Shell is a critical security flaw in Django, a web framework. It allows attackers to run malicious code on servers, particularly those using GeoDjango. The vulnerability is in how Django handles GeoDjango’s RasterField, letting attackers write files to the server. This can result in remote code execution, potentially compromising the server. Organizations using GeoDjango should update to the latest version and ensure proper input validation.
- RCE (remote code execution)
- An attacker can run their own commands on someone else's computer or server over the internet.
- Vulnerability
- A mistake or weakness in software that an attacker can misuse.
- Exploit
- Code or steps that take advantage of a weakness.
Key facts
| Reported by | The Hacker News |
|---|---|
| Date reported | 02 Dec 2026 |
| CVE | CVE-2026-124827 |
| CVSS | 8.7 HIGH CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| Weakness | CWE-73 (see NVD) |
| CISA KEV | Not listed (no confirmed exploitation in KEV) |
| Vendor advisory | docs.djangoproject.com |
| CVE | CVE-2026-15307 |
| CVSS | 8.7 HIGH CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| Weakness | CWE-73 (see NVD), CWE-918 (server-side request forgery) |
| CISA KEV | Not listed (no confirmed exploitation in KEV) |
| Vendor advisory | docs.djangoproject.com |
| CVE | CVE-2026-87890 |
| CVSS | 6.9 MEDIUM CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| Weakness | CWE-918 (server-side request forgery) |
| CISA KEV | Not listed (no confirmed exploitation in KEV) |
| Vendor advisory | docs.djangoproject.com |
| Affected product | Django |
| Fixed versions | 6.1.4, 6.0 (CVE-2026-124827, per NVD) |
| Fixed versions | 5.2.17 and 6.0 (CVE-2026-15307, per NVD) |
| Fixed versions | 6.1.2, 6.0 (CVE-2026-87890, per NVD) |
| Published in NVD | 2026-12-02 (CVE-2026-124827) |
| Published in NVD | 2026-08-04 (CVE-2026-15307) |
| Published in NVD | 2026-10-06 (CVE-2026-87890) |
How it works

A vulnerability in Django's GeoDjango RasterField allows attackers to write files with user-controlled names. This can enable remote code execution. Attackers exploit this by crafting a raster file, which is then written to a location of their choice.
- Attacker reaches the Django over the internet / network
- Attacker needs a normal (low-privilege) account
- Sends crafted input that triggers the flaw
- Impact: data can be read, data or code can be changed, service crashes or stops
Skillmate analyst mapping (our judgement, not from the vendor):
- T1190 Exploit Public-Facing Application
Timeline
| Date | Event | Source |
|---|---|---|
| 2026-08-04 | CVE-2026-15307 published in NVD | NVD |
| 2026-10-06 | CVE-2026-87890 published in NVD | NVD |
| 2026-12-02 | CVE-2026-124827 published in NVD | NVD |
| 2026-12-02 | Reported by The Hacker News | The Hacker News |
| 2026-12-02 | This Skillmate explainer published | Skillmate |
How to fix it
- Update Django now. NVD lists the fixed versions as 6.1.4, 6.0; 5.2.17 and 6.0; 6.1.2, 6.0.
- Read the vendor advisory for CVE-2026-124827 and upgrade to the fixed release it lists.
- Read the vendor advisory for CVE-2026-15307 and upgrade to the fixed release it lists.
- Read the vendor advisory for CVE-2026-87890 and upgrade to the fixed release it lists.
- If you cannot patch today, limit who can reach the affected service and watch its logs.
How to detect it
Defenders should look for unauthorized file writes and remote code execution attempts.
What is confirmed and what is not
| Confirmed | Not confirmed yet |
|---|---|
| CVE-2026-124827 is a real NVD record scored 8.7 HIGH | CISA KEV does not list CVE-2026-124827 as exploited in the wild |
| CVE-2026-15307 is a real NVD record scored 8.7 HIGH | CISA KEV does not list CVE-2026-15307 as exploited in the wild |
| CVE-2026-87890 is a real NVD record scored 6.9 MEDIUM | CISA KEV does not list CVE-2026-87890 as exploited in the wild |
| NVD lists fixed versions for CVE-2026-124827: 6.1.4, 6.0 | |
| NVD lists fixed versions for CVE-2026-15307: 5.2.17 and 6.0 | |
| NVD lists fixed versions for CVE-2026-87890: 6.1.2, 6.0 | |
| Reported by The Hacker News | |
| Reported by docs.djangoproject.com |
Why it matters
This vulnerability can let attackers write files and execute code on servers, potentially leading to data theft or system compromise. It affects companies and users using GeoDjango with RasterFields, especially those with writable project roots.
Learn the skills behind this story
Want to understand attacks like this and defend against them? Join Skillmate cybersecurity training or practise hands-on in Skillmate Labs.
FAQ
How can attackers exploit this vulnerability?
Attackers can exploit this by sending crafted data to a RasterField, enabling them to write files and potentially execute remote code.
What versions of Django are affected?
Django versions 6.1 before 6.1.4, 6.0 before 6.0.11, and 5.2 before 5.2.20 are affected, but earlier unsupported series may also be.
How can I protect my Django application?
Ensure you update to the latest security patches for Django. Validate and sanitize all user inputs, especially in RasterField assignments.
Related Skillmate posts
Sources
- New Django4Shell Vulnerability Enables Django RCE via GeoDjango Form Validation (The Hacker News)
- Vendor advisory CVE-2026-124827 (docs.djangoproject.com)
- NVD CVE record (NVD)
How we wrote this: facts come from the sources above, NVD and CISA KEV. An on-prem AI model drafted the plain-English parts and every sentence was checked against the sources; unsupported sentences were removed. MITRE mapping is our own judgement.
