Server-side file-write via RasterField assignment

Patch this weekFull system takeover over the network by a logged-in user.
8.7HIGH

CVE-2026-124827

Key Information:

Vendor

Djangoproject

Status
Django
CVE ID
CVE ID:
CVE-2026-124827
Vendor
CVE Published:
2 December 2026
Fixed in
Fixed in:
6.1.4, 6.0.11, 5.2.20

Timeline

Exploit known the day it was published

  • ๐Ÿ“ˆ

    Vulnerability started trending

  • ๐Ÿ‘พ

    Exploit known to exist

  • ๐Ÿ“ฐ

    First article discovered by The Hacker News

  • Vulnerability published

  • Vulnerability Reserved

Badges

๐Ÿ”ฅ Trending now๐Ÿ“ˆ Trended๐Ÿ“ˆ Score: 3,200๐Ÿ‘พ Exploit Exists๐Ÿ“ฐ News Worthy

How risky is it?

  • Partly: Works over the network, but needs a login
  • Partly: Exploitation or a working exploit reported
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Update to a fixed version
Django 6.1 to below 6.1.4 is vulnerable
Django 6.0 to below 6.0.11 is vulnerable
Django 5.2 to below 5.2.20 is vulnerable

Install the Django release that fixes your version line, or later:

6.1.46.0.115.2.20
Read the vendor advisory โ†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Django. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Look for signs of compromise

Exploitation has been reported, so check logs on exposed Django systems for unusual requests or new processes from before you patched.

4Why it's rated "Patch this week"
  • Exploitation or a working exploit has been reported.
  • Its CVSS severity is high (8.7).

What is CVE-2026-124827?

An issue was discovered in Django 6.1 before 6.1.4, 6.0 before 6.0.11, and 5.2 before 5.2.20. django.contrib.gis.db.models.RasterField allows the creation of files at attacker-controlled locations via the name parameter of a data definition. Depending on the raster driver, this could enable remote code execution. Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected. Django would like to thank Mohammed Fathy for reporting this issue.

Affected Version(s)

Django 6.1 < 6.1.4

Django 6.0 < 6.0.11

Django 5.2 < 5.2.20

News Articles

New Django4Shell Vulnerability Enables Django RCE via GeoDjango Form Validation

Django4Shell lets authenticated attackers exploit GeoDjango RasterField form validation to write arbitrary files and achieve remote code execution.

8 hours ago

References

Vulnerability in Django GeoDjango Component

CVE-2026-15307
DjangoprojectDjango8.7HIGH

Performance Degradation Issue in Django Framework

CVE-2026-33033
DjangoprojectDjango๐Ÿ‘พ6.5MEDIUM

SQL Injection in Django Framework

CVE-2025-13372
DjangoprojectDjango4.3MEDIUM
View more Djangoproject vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction

CVSS V4

Score:
8.7
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Credit

Mohammed Fathy
Sarah Boyce
David Smith
Jacob Walls
Sarah Boyce
Jacob Walls
.