Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-124827
Published:December 02, 2026
Updated:December 02, 2026
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 Packages
django (CONDA):
Affected version(s) >=3.0 <5.2.20 || >=2.0 <5.2.20 || >=5.0 <5.2.20 || >=1.9.2 <5.2.20 || >=4.0 <5.2.20
Fix Suggestion:
Update to version 5.2.20
django (CONDA):
Affected version(s) >=6.1 <6.1.4
Fix Suggestion:
Update to version 6.1.4
django (CONDA):
Affected version(s) >=6.0 <6.0.11
Fix Suggestion:
Update to version 6.0.11
https://github.com/django/django.git (GITHUB):
Affected version(s) >=6.1a1 <6.1.4
Fix Suggestion:
Update to version 6.1.4
https://github.com/django/django.git (GITHUB):
Affected version(s) >=1.9a1 <5.2.20 || >=2.0a1 <5.2.20 || >=3.0a1 <5.2.20 || >=4.0a1 <5.2.20 || >=5.0a1 <5.2.20
Fix Suggestion:
Update to version 5.2.20
https://github.com/django/django.git (GITHUB):
Affected version(s) >=6.0a1 <6.0.11
Fix Suggestion:
Update to version 6.0.11
django (PYTHON):
Affected version(s) >=3.0a1 <5.2.20 || >=2.0a1 <5.2.20 || >=5.0a1 <5.2.20 || >=1.9a1 <5.2.20 || >=4.0a1 <5.2.20
Fix Suggestion:
Update to version 5.2.20
django (PYTHON):
Affected version(s) >=6.1a1 <6.1.4
Fix Suggestion:
Update to version 6.1.4
django (PYTHON):
Affected version(s) >=6.0a1 <6.0.11
Fix Suggestion:
Update to version 6.0.11
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
External Control of File Name or Path