Skip to content
The Hacker News on X: " BREAKING: Django's security fix has failed twice. A new critical ...

The Hacker News on X: " BREAKING: Django's security fix has failed twice. A new critical ...

X • December 2, 2026

(CVE-2026-124827, CVSS 9.0) allows attackers to turn GeoDjango form inputs into arbitrary file writes and potential remote code execution.

Even if you don't run GeoDjango, still grab this release. There's a high sqli in range and in lookups too.

The full story

This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.

Django4Shell: CVE-2026-124827 RasterField flaw enables file write and possible RCE Django released versions 6.1.4, 6.0.11 and 5.2.20 on 2 December 2026 to fix CVE-2026-124827, dubbed Django4Shell, a high-severity (CVSS 8.8 per the verified record; The Hacker News reports CVSS 9.0) server-side file-write flaw in GeoDjango's RasterField assignment path. Django's advisory says that assigning a raster definition with an user-controlled name and a non-default GDAL driver could write a file to an attacker-controlled location, which depending on the driver could enable remote code execution. The flaw is described as an incomplete fix for CVE-2026-87890, which itself was an incomplete fix for CVE-2026-15307. Robusta Technology Group's Mohammed Fathy is credited with the research and says an authenticated staff user could submit a crafted JSON raster through a ModelForm or Django admin view to write sitecustomize.py or.pth files, though these exploitation details come from the researcher's write-up and have not been independently verified. Django states RasterField falls back to the CharField form field, so it was reachable by default in admin and ModelForms, and only PostGIS-backed RasterField is affected, not geometry fields. The fix sets RasterField editable to False by default and raises GDALException for dict or JSON definitions specifying non-default drivers. Django notes server-side request forgery remains possible if untrusted input reaches RasterField. Cybersecuritynews reports no confirmed and no independent demonstration of unauthenticated attack as of 2 December. The same releases also fix other issues, including a separate high-severity SQL injection flaw in range and lookups. 7 sources 74

Extracted Entities

Attack Types (1)

CWE Weaknesses (1)

Platforms (1)