Django security releases issued: 6.1.4, 6.0.11, and 5.2.20
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
Django 6.1.4, 6.0.11 and 5.2.20 fix seven security issues, two rated high by the project. One is CVE-2026-124827, where a user-controlled name and non-default driver assigned to GeoDjango's RasterField could make GDAL write a file to an attacker-chosen location, which depending on the driver could enable remote code execution. The other is SQL injection in range and in lookups. RasterField is PostGIS-only, and RasterField now defaults to non-editable. Cached responses are not invalidated by the upgrade, so teams affected by the dot-segment cache issue should clear caches.