Skip to content
Connect AISign inSign up free
CVE-2026-1248278.8HighCWE-73

CVE-2026-124827: Server-side file-write via RasterField assignment

djangoproject · Django

Vendor fix available · Affected: djangoproject · Exploitation: not established

Verdict

RoutineA fix exists and nothing on record suggests attackers are using it.

  • NoAttacks seen
  • NoPublic exploit code
  • n/aExploit odds: not scored yet
  • YesFix available: Vendor fix available
How we decide

Patch now: attacks are on record (CISA KEV, the EU exploited list, CISA marking exploitation active, or a report of exploitation), or exploit code is public for a flaw reachable over the network with no login that has exploit odds of 10% or more, or is rated critical with odds of at least 1%. Patch this cycle: any other public exploit code, scanning observed, or exploit odds of 10% or more. Routine: a fix exists and none of those. No verdict yet: no fix on record and nothing else known. The verdict says how soon to act, not how severe the flaw is, and it changes when these facts change.

What it isNVD

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.

Exploit requirementsfrom the CVSS 3.1 vector in the CVE record; NVD has not scored it yet

Where from
Remotely, over the network
Login
A regular user account
User action
None needed
Conditions
None stated in the score

The published text states nothing further that an attacker needs.

Are you affected?

The answer appears here.

Or hand it to your AI agent. The prompt carries the facts on this page and only commands that read package and kernel state; it tells the agent to change nothing.

No EPSS score yet. The score appears once FIRST publishes it.

8.8HighCVSS 3.1
LowHigh
Check your systemsRead-only commands per release

Assess your exposure

Commands that only read package and kernel state, for each release we checked. They change nothing on the host.

The same commands and fixed versions, with instructions to report back without changing anything.

Affected versions, per the CVE record

Not checked: Red Hat, Ubuntu, Debian, SUSE, Alpine. Treat distributions and products not listed as unknown, not unaffected.

ExploitationNot established

ExploitationNot established

Not in CISA KEV as of catalogue 2026.11.30 (30 Nov)

  1. Not establishedNothing in the sources we check

Not seen so far: in CISA KEV · exploited (reported) · scanning observed · proof of concept public.

Weakness and public checksExternal Control of File Name or Path

Weakness and public checks

Public check
No public nuclei template
Weakness
External Control of File Name or Path · File and Path Handling
Related CVEsDjango

Other CVEs in Django

Every published CVE for djangoproject Django, by how far exploitation has gone. This one is among them.

As a list
Other CVEs in Django: each mark is one CVE.Drag to move · Ctrl + scroll to zoom · a mark opens that CVE
Coverage2 articles · 2 outlets

Coverage2 articles · 2 outlets

One row per outlet, in order of first report. First in our coverage: The Hacker News, 2 Dec.

Full timeline
Developinglatest 3 hours ago2 articles2 outlets
2 Dec · The Hacker News firstNow
  • Wed 2 Dec, 15:00 UTC. The Hacker News, first report. Django fixes critical GeoDjango flaw enabling remote code execution.
  • Wed 2 Dec, 16:01 UTC. SecurityOnline, its first report on the story. Django fixes Django4Shell RCE flaw in GeoDjango RasterField.
All coveragerunning total2The Hacker…1SecurityOnl…1Now
  • First report
  • Article
  • Running total
Show as table
2 articles about CVE-2026-124827 from 2 outlets
Published (UTC)OutletHeadline
2 Dec 15:00The Hacker NewsDjango fixes critical GeoDjango flaw enabling remote code execution
2 Dec 16:01SecurityOnlineDjango fixes Django4Shell RCE flaw in GeoDjango RasterField

New articles also arrive in the RSS feed.

References4 links

References