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 byThe Hacker News
Date reported02 Dec 2026
CVECVE-2026-124827
CVSS8.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
WeaknessCWE-73 (see NVD)
CISA KEVNot listed (no confirmed exploitation in KEV)
Vendor advisorydocs.djangoproject.com
CVECVE-2026-15307
CVSS8.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
WeaknessCWE-73 (see NVD), CWE-918 (server-side request forgery)
CISA KEVNot listed (no confirmed exploitation in KEV)
Vendor advisorydocs.djangoproject.com
CVECVE-2026-87890
CVSS6.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
WeaknessCWE-918 (server-side request forgery)
CISA KEVNot listed (no confirmed exploitation in KEV)
Vendor advisorydocs.djangoproject.com
Affected productDjango
Fixed versions6.1.4, 6.0 (CVE-2026-124827, per NVD)
Fixed versions5.2.17 and 6.0 (CVE-2026-15307, per NVD)
Fixed versions6.1.2, 6.0 (CVE-2026-87890, per NVD)
Published in NVD2026-12-02 (CVE-2026-124827)
Published in NVD2026-08-04 (CVE-2026-15307)
Published in NVD2026-10-06 (CVE-2026-87890)

How it works

Attack flow: Attacker reaches the Django over the internet / network then Attacker needs a normal (low-privilege) account then Sends crafted input that triggers the flaw then Impact: data can be read, data or code can be changed, service crashes or stops
Built from the official CVSS vectors of CVE-2026-124827 (NVD)

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.

  1. Attacker reaches the Django over the internet / network
  2. Attacker needs a normal (low-privilege) account
  3. Sends crafted input that triggers the flaw
  4. 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

DateEventSource
2026-08-04CVE-2026-15307 published in NVDNVD
2026-10-06CVE-2026-87890 published in NVDNVD
2026-12-02CVE-2026-124827 published in NVDNVD
2026-12-02Reported by The Hacker NewsThe Hacker News
2026-12-02This Skillmate explainer publishedSkillmate

How to fix it

  1. 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.
  2. Read the vendor advisory for CVE-2026-124827 and upgrade to the fixed release it lists.
  3. Read the vendor advisory for CVE-2026-15307 and upgrade to the fixed release it lists.
  4. Read the vendor advisory for CVE-2026-87890 and upgrade to the fixed release it lists.
  5. 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

ConfirmedNot confirmed yet
CVE-2026-124827 is a real NVD record scored 8.7 HIGHCISA KEV does not list CVE-2026-124827 as exploited in the wild
CVE-2026-15307 is a real NVD record scored 8.7 HIGHCISA KEV does not list CVE-2026-15307 as exploited in the wild
CVE-2026-87890 is a real NVD record scored 6.9 MEDIUMCISA 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.

Sources

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.