SecurityOnlineDo Son
Django fixes Django4Shell RCE flaw in GeoDjango RasterField
Part of the CVE-2026-124827 story · since 2 Dec
- Wed 2 Dec, 15:00 UTC. The Hacker News, first report. Django fixes critical GeoDjango flaw enabling remote code execution.
- Wed 2 Dec, 16:01 UTC. SecurityOnline, its first report on the story. Django fixes Django4Shell RCE flaw in GeoDjango RasterField. This article, 2nd of 2.
The Django Project has issued a major security release on 2 December 2026 to address seven vulnerabilities across Django 6.1, 6.0 and 5.2 branches, including the high‑severity Django4Shell RCE CVE-2026-124827 in GeoDjango’s RasterField. The highest‑severity issue, CVE-2026-124827, allows server‑side file writes via RasterField assignment, potentially enabling staff users to drop a harmful sitecustomize.py onto the server.
The Django team also patched a potential SQL injection in range and in lookups (CVE-2026-132092). Django notes that, at press time, no live attacks are in the wild and no weaponised PoC code has been publicly released, though the Django4Shell research portal maps the full attack flow for guidance. Researcher Mohammed Fathy of Robusta Technology Group named the flaw “Django4Shell”.
The article explains how the attack bypasses earlier RasterField guards: during ModelForm input checks, RasterField is treated as a plain CharField, allowing a staff user to send a crafted JSON raster string that GDAL’s EHdr driver can write to disk, potentially placing a writable sitecustomize.py file in the server path. The published fixes include making RasterField non‑editable by default and rejecting non‑trusted GDAL inputs.
In addition to CVE-2026-124827, the release closes CVE-2026-132092 and five lower‑severity issues (including CVEs 2026-115868, 2026-125673, 2026-119642, 2026-127929, 2026-132809). Affected versions run prior to 6.1.4, 6.0 prior to 6.0.11, and 5.2 prior to 5.2.20; admins should upgrade immediately and purge affected caches as advised by the Django security release notices.
How the story developed
2 articles from 2 outlets since 2 Dec. Still developing; the latest report was 3 hours ago. This was the 2nd report, 1 hour after the first.
- Wed 2 Dec, 15:00 UTC. The Hacker News, first report. Django fixes critical GeoDjango flaw enabling remote code execution.
- Wed 2 Dec, 16:01 UTC. SecurityOnline, its first report on the story. Django fixes Django4Shell RCE flaw in GeoDjango RasterField. This article, 2nd of 2.
- CVE not in KEV
- No CVE
- Larger: an outlet’s first report
- Coverage over time
Show all 2 articles as a listHide the list
- Wed 2 DecDay 02
- Django fixes critical GeoDjango flaw enabling remote code execution15:00 · The Hacker News · First report
- Django fixes Django4Shell RCE flaw in GeoDjango RasterField16:01 · SecurityOnline · This article, 2nd of 2