Django Patches Django4Shell RCE Flaw in GeoDjango RasterField

Summary
Django updates fix CVE-2026-124827, a high-severity GeoDjango RasterField flaw that could let an authenticated attacker write arbitrary files and potentially achieve RCE. Public PoC details are available.
Key points
- Django released versions 6.1.4, 6.0.11 and 5.2.20 to address seven security bugs.
- CVE-2026-124827 affects GeoDjango RasterField; an authenticated attacker could write files to accessible system paths and potentially enable RCE.
- The flaw may affect GeoDjango applications using PostGIS that define RasterField, especially when exposed through the admin, ModelForms or writable model serializers.
- Orca Security says exploitation could use a crafted JSON raster body with a user-controlled name parameter and a non-default GDAL driver.
- The flaw is described as an incomplete fix for earlier issues CVE-2026-87890 and CVE-2026-15307.
- The updates also address XSS, cache poisoning, information disclosure, heap buffer overflow and SQL injection vulnerabilities.
Article Details
- Vulnerability Types
- Arbitrary file write
- Remote code execution
- Severity
- High (CVSS 8.8)
- Exploitation Status
- unknown
- Exploit Availability
- public_poc
- Patch Status
- available
MITRE ATT&CK
CVE
CVE-2026-124827djangoproject · Djangomaintainers released Django versions 6.1.4, 6.0.11, and 5.2.20 to fix seven security bugs, including CVE-2026-124827 (CVSS score of 8.8), dubbed Django4Shell, an RCE issue with publicly available proof-of-concept (PoC)CVE-2026-15307djangoproject · Djangoa server-side request forgery (SSRF) patched in October, which in turn is an incomplete fix for CVE-2026-15307, a server-side file-write and request forgery bug patched in August.CVE-2026-87890djangoproject · DjangoThe security defect is an incomplete fix for CVE-2026-87890, a server-side request forgery (SSRF) patched in October, which in turn is an incomplete fix for CVE-2026-15307, a server-side file-write and request forgery
Products
DjangoNew Django security updates resolve a high-severity vulnerability that could lead to remote code execution (RCE).GeoDjangoThe security defect impacts Django’s GeoDjango RasterField component, where user-controlled raster data is insufficiently validated, allowing an authenticated attacker to write arbitrary files to the server.PostGISAny GeoDjango application running on PostGIS that defines a RasterField may be vulnerable, especially those exposing RasterField via the Django admin, ModelForms, or writable model serializers.
