High severity8.8NVD Advisory· Published Dec 2, 2026· Updated Dec 2, 2026
CVE-2026-124827
CVE-2026-124827
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.
Affected products
1- Range: <6.1.4, <6.0.11, <5.2.20
Patches
Vulnerability mechanics
References
7- docs.djangoproject.com/en/dev/releases/security/nvd
- github.com/django/django/commit/02d09443c441ffc8064206dc4a8bdc6496fa49b0nvd
- github.com/django/django/commit/6b5d29eae050ac7cf72cc5a407d2094ad8e83789nvd
- github.com/django/django/commit/a3934abd4c0d43430efec34d6ae933794df2c2f5nvd
- github.com/django/django/commit/b70d098878ae1a65fa2377be776610500ff44336nvd
- groups.google.com/g/django-announcenvd
- www.djangoproject.com/weblog/2026/dec/02/security-releases/nvd
News mentions
1- New Django4Shell Vulnerability Enables Django RCE via GeoDjango Form ValidationThe Hacker News · Dec 2, 2026