Django 5.1
End of life- Released
- Aug 7, 2024
- Latest patch
- 5.1.15 · Dec 2, 2025
- Active support until
- Apr 2, 2025
- End of life
- Dec 3, 2025
- Official release notes
- https://docs.djangoproject.com/en/5.1/releases/5.1.15/ ↗
What's new in Django 5.1.15
This is a security and bug-fix release, Django 5.1.15, that fixes two security issues and one regression introduced in Django 5.1.14. No breaking changes or deprecations are listed.
- Security fix (high severity, CVE-2025-13372): FilteredRelation column aliases were open to SQL injection on PostgreSQL when a crafted dictionary was expanded into the keyword arguments of QuerySet.annotate() or QuerySet.alias().
- Security fix (moderate severity, CVE-2025-64460): the XML deserializer could take quadratic time on crafted documents with many nested invalid elements, enabling denial of service. The internal helper getInnerText() now collects text per element instead of accumulating it inefficiently during recursion.
- Regression fix: HttpResponseRedirect and HttpResponsePermanentRedirect raised DisallowedRedirect for URLs longer than 2048 characters in Django 5.1.14. The limit is now 16384 characters (#36743).
- Developers on PostgreSQL who build annotations or aliases from user-supplied dictionaries should upgrade promptly.
Based on the official release notes.
FAQ
When was Django 5.1 released?
Django 5.1 was released on August 7, 2024.
What is the latest Django 5.1 release?
The latest release in the Django 5.1 cycle is 5.1.15, released on December 2, 2025.
Is Django 5.1 still supported?
No. Django 5.1 has reached end of life on December 3, 2025 and no longer gets fixes.
Data: endoflife.date.