CVE Tools

CVE-2026-124827

Server-side file-write via RasterField assignment

CVE-2026-124827 affects djangoproject Django (CVSS 8.8, High).

No known exploitation. No EPSS score yet. Fixed versions are out.

Check it yourself

No ready-made check. Neither Nuclei nor OpenVAS has one for this CVE yet.

Request a scan

Published Updated Sources: CVE.org, NVD

What to do

Find your product and version, then upgrade to the build on the right.

  • djangoproject DjangoAffected: ≥ 6.1, < 6.1.4Upgrade to: 6.1.4Affected: ≥ 6.0, < 6.0.11Upgrade to: 6.0.11Affected: ≥ 5.2, < 5.2.20Upgrade to: 5.2.20Stated by: CVE record

Versions as the sources state them. Full version matrix after sign-in

Steps

Written by AI from the record
  1. Check if your application uses Django's django.contrib.gis.db.models.RasterField (GeoDjango raster support) — if you don't use GeoDjango, you are not affected.
  2. Confirm which Django series you run (6.1.x, 6.0.x, or 5.2.x) and check your exact version number.
  3. Upgrade to the fixed version for your series: 6.1.4, 6.0.11, or 5.2.20.
  4. Restrict which accounts can submit raster data definitions until the upgrade is complete.
  5. After upgrading, review your server for any unexpected files written by the application.
pip install --upgrade django==6.1.4 # or django==6.0.11 / django==5.2.20 depending on your series

Coverage timeline

2 publishers
  1. Vendor patch released

    ·SecurityWeek summary

Sourced from public security reporting — each date is when it was published, not when it happened.

What it is

From the CVE record

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.

In plain language

Written by AI from the record

A flaw in Django (a popular website-building framework) could let a logged-in user with some access write files to places they shouldn't on the server, and in some setups that could let them run commands — if your site uses Django's geographic/mapping features, you should update soon, but there's no sign attackers are using this yet.

Path traversal (CWE-73) in Django's GeoDjango RasterField lets a low-privileged authenticated user supply an attacker-controlled file name during raster data definition, writing files to arbitrary server locations and, depending on the configured raster driver, achieving remote code execution.

If you're affected

  • Server file system compromise
  • Possible remote code execution
  • Data integrity loss
  • Operational disruption if exploited

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

CISA KEV

Not in the catalog. CISA has not confirmed exploitation.

Public exploits

No public exploit or proof of concept found in the sources we track.

EPSS

No EPSS score yet. New CVEs are usually scored within a few days.

Lifecycle

5 events over 1 day, from the signal feeds we watch.

  1. Record updated
  2. Publishedweakness classified, record updated, record updated

Affected products

Scale

How widely the affected products are used. This is not a count of vulnerable hosts.

Estimate Public sources, each figure dated. How much of it is already patched is not known.

Django

Library
  • 52.4Mdownloads / month

    PyPI downloads, last 30 days (pypistats, mirrors excluded).

    PyPI ↗ · as of 2 Dec 2026 · High confidence

Version split: unknown. No public source for this product.

Technical detail

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Scored 8.8 by NVD.

How it is reached

  • Attack Vector NetworkExploitable remotely over the network without any special conditions
  • Attack Complexity LowNo special conditions — the attack can be reliably reproduced
  • Privileges Required LowRequires basic user-level privileges
  • User Interaction NoneNo user interaction needed — fully automated exploitation

Scope

  • Scope UnchangedImpact is limited to the vulnerable component itself

Impact if exploited

  • Confidentiality HighTotal information disclosure — all data in the component is compromised
  • Integrity HighTotal loss of integrity — attacker can modify any data in the component
  • Availability HighTotal denial of service — the component is completely unavailable

Weaknesses

Sources

Questions about CVE-2026-124827

Which versions are affected by CVE-2026-124827?
Django: ≥ 6.1, < 6.1.4; ≥ 6.0, < 6.0.11; ≥ 5.2, < 5.2.20.
How do I fix or mitigate CVE-2026-124827?
Upgrade to a fixed build for your product branch: 6.1.4, 6.0.11, 5.2.20.

Last updated

Related articles

All articles

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Django, not every advisory.