Django Patches Seven Security Issues Across Three Supported Branches

The Django Security Team released 6.1.4, 6.0.11 and 5.2.20 on December 2. The security bulletin covers seven issues, including a server-side file write in GeoDjango, potential SQL injection, cache poisoning and information exposure in the admin interface. Update to the fixed version for the branch your application runs.

What GeoDjango teams should review

The high-severity CVE-2026-124827 affects RasterField on PostGIS. Django now makes that field non-editable by default. After updating, check any admin forms, model forms and writable serializers that explicitly accept raster values. Django’s release notes explain the change and recommend continuing to validate untrusted raster input. Test the raster submissions your application needs to keep supporting.

Update the dependency pin and rebuild or redeploy every process that loads Django, including background workers. Run python -m django --version in the deployed environment to confirm the version that process will use. The security bulletin lists the three fixed releases and links to the notes for each branch.

Latest articles

Related articles