CVE-2026-124827
Server-side file-write via RasterField assignment
Description
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.
INFO
Published Date :
Dec. 2, 2026, 2:17 p.m.
Last Modified :
Dec. 3, 2026, 5:19 a.m.
Remotely Exploit :
Yes !
Source :
6a34fbeb-21d4-45e7-8e0a-62b95bc12c92
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | MITRE-CVE | ||||
| CVSS 3.1 | HIGH | 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92 | ||||
| CVSS 4.0 | HIGH | 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92 |
Solution
- Update Django to 6.1.4 or later.
- Update Django to 6.0.11 or later.
- Update Django to 5.2.20 or later.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-124827.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-124827 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-124827
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-124827 vulnerability anywhere in the article.
-
TheCyberThrone
Django4Shell: GeoDjango Vulnerability Opens the Door to Potential Remote Code Execution
A seemingly ordinary geospatial data-processing operation could become an entry point for remote code execution. Django developers are dealing with another security issue involving GeoDjango, where a ... Read more
-
The Hacker News
New Django4Shell Vulnerability Enables Django RCE via GeoDjango Form Validation
The maintainers of Django have released versions 6.1.4, 6.0.11, and 5.2.20 to address seven security vulnerabilities, including a critical security flaw that could potentially enable remote code execu ... Read more
The following table lists the changes that have been made to the
CVE-2026-124827 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Dec. 03, 2026
Action Type Old Value New Value Removed SSVC {'id': 'CVE-2026-124827', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-12-02T14:49:06.215173Z'} Added SSVC {'id': 'CVE-2026-124827', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-12-02T00:00:00+00:00'} -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Dec. 02, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-124827', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-12-02T14:49:06.215173Z'} -
New CVE Received by 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92
Dec. 02, 2026
Action Type Old Value New Value Added Description 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. Added CVSS V4.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 Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-73 Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/124xxx/CVE-2026-124827.json">CVE-2026-124827</a> Added Reference https://docs.djangoproject.com/en/dev/releases/security/ Added Reference https://github.com/django/django/commit/02d09443c441ffc8064206dc4a8bdc6496fa49b0 Added Reference https://github.com/django/django/commit/6b5d29eae050ac7cf72cc5a407d2094ad8e83789 Added Reference https://github.com/django/django/commit/a3934abd4c0d43430efec34d6ae933794df2c2f5 Added Reference https://github.com/django/django/commit/b70d098878ae1a65fa2377be776610500ff44336 Added Reference https://groups.google.com/g/django-announce Added Reference https://www.djangoproject.com/weblog/2026/dec/02/security-releases/