
On 2 December 2026 the Django team released Django 6.1.4, 6.0.11 and 5.2.20, fixing seven security issues, and said: "We encourage all users of Django to upgrade as soon as possible." Django rates two of them high, one moderate and four low.
Django4shell (CVE-2026-124827) sits in GeoDjango's RasterField. Assigning raster data with a user-controlled name and a non-default driver could make GDAL write a file to a location the attacker chooses; Django says that "depending on the raster driver, this could enable remote code execution". The field was reachable by default through the admin, ModelForms and writable serializers. Snyk says exploitation needs a staff-level account, GeoDjango with a RasterField model, and a Django process that can write where Python loads code. Researcher Mohammed Fathy of Robusta Technology Group reported it. It is the third fix for this GeoDjango area after CVE-2026-15307 (August) and CVE-2026-87890 (October), so apps patched then still need this update. Scores differ: Snyk gives CVSS 4.0 8.7 (3.1: 8.8), SecurityOnline 9.0 in one place and 8.8 in another.
The SQL injection (CVE-2026-132092) affects the range and in lookups when a query uses aliases or key transforms whose names contain percent signs, and applies whether or not you use GeoDjango. Snyk rates it critical (CVSS 4.0 9.3) and says it needs no privileges; Django rates it high. After the fix, range requires exactly two right-hand values.
The other five: an XSS in the truncatechars_html filter (moderate), cache poisoning through dot segments in request paths (CVE-2026-125673 — Django says existing caches are not invalidated, so clear them), two admin changelist information leaks for staff with view permission (one reported by OpenAI), and a heap overflow in OGRGeometry.wkb for geometries over 4 GB.
No attacks reported so far. Snyk says it is not aware of exploitation, and SecurityOnline lists the flaw as not exploited and says no weaponised exploit code was public. Django 4.2 and older are out of support; Django did not check whether the unsupported 5.1, 5.0 and 4.2 series are affected.

