Django 5.2
Security fixes onlyLTS- Released
- Apr 2, 2025
- Latest patch
- 5.2.19 · Nov 3, 2026
- Active support until
- Dec 3, 2025
- End of life
- Apr 30, 2028
- Official release notes
- https://docs.djangoproject.com/en/5.2/releases/5.2.19/ ↗
What's new in Django 5.2.19
This is a security release that fixes five issues (four rated low, one moderate) in Django 5.2.18.
- Breaking: SpatialReference no longer accepts file paths or URLs as string input on GDAL 3.9 and later, and DICT: references, including ESRI::, are rejected on all GDAL versions. Use integer SRIDs for untrusted input.
- Breaking: Cache keys now distinguish absent from empty Vary header values (CVE-2026-113593), so responses cached under the old behaviour are no longer matched and will be cached again.
- Moderate: GeoJSON geometries with CRS references to external resources are rejected by spatial lookups, GeometryField and GEOSGeometry (CVE-2026-111362). DataSource and LayerMapping still accept them.
- Server-side request forgery: the SpatialReference fix also covers the transform methods and the srs and srid setters that accept strings (CVE-2026-114582). A new gis.W001 system check warns if GDAL is older than 3.9.
- Low: multipart uploads with base64 Content-Transfer-Encoding are no longer buffered entirely in memory before reaching upload handlers (CVE-2026-108147).
- Low: GeometryField and its widgets escape control characters in logged invalid values (CVE-2026-111211).
Based on the official release notes.
FAQ
When was Django 5.2 released?
Django 5.2 was released on April 2, 2025.
What is the latest Django 5.2 release?
The latest release in the Django 5.2 cycle is 5.2.19, released on November 3, 2026.
Is Django 5.2 still supported?
Partly. Django 5.2 gets security fixes only, until April 30, 2028.
When does Django 5.2 reach end of life?
Django 5.2 reaches end of life on April 30, 2028.
Data: endoflife.date.