Django Patches Django4Shell RCE Flaw in GeoDjango RasterField

· Original article ↗

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

People

Products