---
title: "CVE-2026-124827: Django - Remote Code Execution"
description: "Django 6.1 < 6.1.4, 6.0 < 6.0.11, and 5.2 < 5.2.20 contain a remote code execution vulnerability caused by unsafe file creation via the name parameter in django.contrib.gis.db.models.RasterField, letting attackers execute code remotely, exploit requires crafted input to RasterField."
url: https://panop.io/threat-heartbeat/CVE-2026-124827/
---

# CVE-2026-124827 Django - Remote Code Execution

Django 6.1 < 6.1.4, 6.0 < 6.0.11, and 5.2 < 5.2.20 contain a remote code execution vulnerability caused by unsafe file creation via the name parameter in django.contrib.gis.db.models.RasterField, letting attackers execute code remotely, exploit requires crafted input to RasterField.

CVSS base score 8.8 /10

High

CISA KEV

Not listed

Public exploit

Proof of concept available

Authentication

Required

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-124827)

## Details

Type

Remote Code Execution

Impact

Remote Code Execution

CVSS vector

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

Published

2 December 2026

Updated

3 December 2026

Weakness

[CWE-73](https://cwe.mitre.org/data/definitions/73.html)

## Vendor fix

Upgrade to Django 6.1.4, 6.0.11, 5.2.20 or later versions.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-124827](https://nvd.nist.gov/vuln/detail/CVE-2026-124827)
- [https://docs.djangoproject.com/en/dev/releases/security/](https://docs.djangoproject.com/en/dev/releases/security/)
- [https://github.com/django/django/commit/02d09443c441ffc8064206dc4a8bdc6496fa49b0](https://github.com/django/django/commit/02d09443c441ffc8064206dc4a8bdc6496fa49b0)
- [https://github.com/django/django/commit/6b5d29eae050ac7cf72cc5a407d2094ad8e83789](https://github.com/django/django/commit/6b5d29eae050ac7cf72cc5a407d2094ad8e83789)
- [https://github.com/django/django/commit/a3934abd4c0d43430efec34d6ae933794df2c2f5](https://github.com/django/django/commit/a3934abd4c0d43430efec34d6ae933794df2c2f5)
- [https://github.com/django/django/commit/b70d098878ae1a65fa2377be776610500ff44336](https://github.com/django/django/commit/b70d098878ae1a65fa2377be776610500ff44336)
- [https://groups.google.com/g/django-announce](https://groups.google.com/g/django-announce)
- [https://www.djangoproject.com/weblog/2026/dec/02/security-releases/](https://www.djangoproject.com/weblog/2026/dec/02/security-releases/)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
