Django Patches Django4Shell RCE Flaw in GeoDjango RasterField

Summary
Django releases versions 6.1.4, 6.0.11, and 5.2.20 to fix seven vulnerabilities, including CVE-2026-124827, a critical GeoDjango RasterField flaw that can enable attacker-controlled file writes and remote code execution.
Key points
- CVE-2026-124827 (CVSS 9.0), named Django4Shell, affects GeoDjango's RasterField assignment path and can enable arbitrary file writes and remote code execution.
- A crafted JSON raster body can control the target path, file content, and filename, according to researcher Mohamed K. Fathy.
- The flaw was reachable through admin-registered RasterField models, ModelForms, or writable model serializers; successful exploitation requires staff-level authentication, Fathy said.
- Django released versions 6.1.4, 6.0.11, and 5.2.20 to address seven security vulnerabilities.
- The releases also fix SQL injection in range and in lookups (CVE-2026-132092), potential XSS in the truncatechars_html template filter (CVE-2026-115868), and cache poisoning via dot segments in request paths (CVE-2026-125673).
- The article describes Django4Shell as an incomplete fix for CVE-2026-87890, which was itself an incomplete patch for CVE-2026-15307.
Article Details
- Vulnerability Types
- Arbitrary file write
- Remote code execution
- Severity
- Critical (CVSS 9.0)
- Exploitation Status
- unknown
- Exploit Availability
- unknown
- Patch Status
- available
CVE
CVE-2026-124827djangoproject · DjangoThe vulnerability, tracked as CVE-2026-124827 (CVSS score: 9.0), has been codenamed Django4shell by Mohamed K. Fathy, head of cybersecurity at Robusta Technology Group. It's an incomplete fix for CVE-2026-87890, which,CVE-2026-15307djangoproject · Djangoan incomplete fix for CVE-2026-87890, which, in turn, is an incomplete patch for an earlier issue (CVE-2026-15307) that was addressed in August 2026.CVE-2026-87890djangoproject · Djangoby Mohamed K. Fathy, head of cybersecurity at Robusta Technology Group. It's an incomplete fix for CVE-2026-87890, which, in turn, is an incomplete patch for an earlier issue (CVE-2026-15307) that was addressed in
People
Products
DjangoThe 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 execution.GDALenables server-side request forgery (SSRF) by making use of crafted Geospatial Data Abstraction Library (GDAL) Virtual Raster (VRT) payloads that reference an external raster source.GeoDjangoCVE-2026-15307 is a high-severity flaw in GeoDjango's ("django.contrib.gis") spatial lookup raster parsing mechanism that enables server-side file writes, potentially resulting in remote code execution.
