high severityConfidence highHistorical record

Django GeoDjango RasterField file write can reach code execution through a normal form (CVE-2026-124827)

Direct answer

Django GeoDjango RasterField file write can reach code execution through a normal form (CVE-2026-124827), also tracked as CVE-2026-124827 / Django4Shell is a high-severity threat campaign HOL Guard tracked from Dec 2, 2026 to Dec 3, 2026, verified against 4 primary sources and last reviewed Dec 3, 2026. Active tracking has ended and the record remains published as a permanent historical research record.

Also tracked as CVE-2026-124827 · Django4Shell

What happened

The reviewed account of the campaign, preserved in full and paced for reading before the evidence sections.

20) fixes CVE-2026-124827, a high-rated flaw in GeoDjango: assigning a raster definition with an attacker-controlled name and a non-default driver to a RasterField can make GDAL write a file at an attacker-chosen path, and with some drivers that write can reach code execution. 0). The flaw is the assignment path left over after the August 2026 (CVE-2026-15307) and October 2026 (CVE-2026-87890) fixes guarded spatial lookups in the same module.

The same release fixes six more flaws, including CVE-2026-132092, a high-rated SQL injection in range and in lookups.

Uncertainty and limitations

Read the evidence limits before acting on this record.

No known exploitation was listed when Django published the release on December 2, 2026; HOL's Guard feed lists the flaw as not known to be exploited and the Django advisory names no exploitation. HOL did not reproduce the flaw; the account rests on the Django advisory and the reporter's account as reported by The Hacker News. The 9.0 score is the reporter's; Django rates the flaw high without a CVSS score in its advisory.

  • RasterField exists only on PostGIS; geometry fields were not affected, and a Django app with no GeoDjango and no RasterField model has no exposure to this flaw
  • An app that keeps RasterField out of the admin, ModelForms and writable serializers and never assigns untrusted input to it is not reachable through the default path
  • The file-write path runs through admin, form or serializer machinery and, on the reporter's account, needs staff-level authentication; it is not an unauthenticated internet-facing flaw
  • Unsupported Django series were not evaluated for these flaws and may also be affected

Guard coverage and policy

What Guard's reviewed assertions do and do not claim for this campaign, and the reviewed starting points for defense.

Covered by Guard

  • provides evidence

    The campaign rests on the Django advisory and the reporter's account as reported by The Hacker News, as carried in the HOL write-up; HOL did not reproduce the flaw.

  • Recipe available

    Upgrade Django to 6.1.4, 6.0.11 or 5.2.20 for the line in use, because the release closes the RasterField assignment path and the six sibling flaws

    Read the RasterField change before deploying: dict or JSON input naming a non-default driver now raises GDALException, so code that passes raw definitions must wrap them in GDALRaster first.

Safe next step. Campaign guidance is defensive context. It does not auto-apply policy or claim universal campaign coverage.

Timeline

Reviewed events, oldest first, each tied to a verified source.

  1. Update

    Django fixed CVE-2026-15307 in August 2026, covering file writes through spatial lookup raster parsing.

    Sources:Django security releases issued December 2, 2026·The Hacker News on Django4Shell, December 2, 2026

  2. Update

    CVE-2026-87890, fixed in October 2026, was an incomplete patch for the August issue and opened a request forgery route through crafted raster payloads; the assignment path stayed open.

    Source:The Hacker News on Django4Shell, December 2, 2026

  3. Disclosure

    Django issued 6.1.4, 6.0.11 and 5.2.20 fixing seven flaws, led by CVE-2026-124827 in GeoDjango RasterField assignment.

    Source:Django security releases issued December 2, 2026

  4. Update

    HOL Guard published the operator write-up with the scope, the checks, and the fix steps.

    Source:HOL Guard operator write-up

Publication clock: 39.2 hours from reviewed disclosure timestamp to HOL publication; 24-hour high target; historical backfill outside target.

Reviewed artifacts

The specific artifacts this record concerns, as reviewed. Names and versions are shown as text; a registry link is not recorded here.

  • Django (GeoDjango RasterField, PostGIS only)@6.1 before 6.1.4, 6.0 before 6.0.11, 5.2 before 5.2.20 affected; fixed in 6.1.4, 6.0.11, 5.2.20genericpackage

Sources

Every claim on this record is traceable to the sources below.

Campaign questions, answered

Django's December 2, 2026 security release 4, HOL Guard tracked the campaign from Dec 2, 2026 to Dec 3, 2026.

No. Active tracking ended Dec 3, 2026; this page remains as a labeled historical research record and does not imply the threat is currently active.

The record cites 4 primary sources, names 1 reviewed artifact, and was last fully reviewed Dec 3, 2026 by HOL Guard Security Publishing. Its uncertainty and limitations are stated on the record itself.

Campaign guidance is defensive context. It does not auto-apply policy or claim universal campaign coverage. The campaign-specific policy starting point is linked from the coverage section of this record.

The permalink above is permanent. The full record can be downloaded from this page as JSON, an artifact CSV, and a STIX 2.1 bundle, and corrections can be requested through the published correction path on the record. No known exploitation was listed when Django published the release on December 2, 2026; HOL's Guard feed lists the flaw as not known to be exploited and the Django advisory names no exploitation.

Reviewed in full by HOL Guard Security Publishing.

Published
Last full review
Last modified

Report a correction

Record HGTC-2026-C3E93742