---
title: "Django 4.2.24 release notes"
version: 6.1
locale: ga
source: https://docs.djangoproject.com/ga/6.1/releases/4.2.24/
canonical: https://djangodocs.dev/ga/6.1/releases/4.2.24/
---
# Django 4.2.24 release notes

*September 3, 2025*

Django 4.2.24 fixes a security issue with severity "high" in 4.2.23.

## CVE-2025-57833: Potential SQL injection in `FilteredRelation` column aliases

[`FilteredRelation`](/ga/6.1/ref/models/querysets/#django.db.models.FilteredRelation) was subject to SQL injection in column aliases,
using a suitably crafted dictionary, with dictionary expansion, as the
`**kwargs` passed to [`QuerySet.annotate()`](/ga/6.1/ref/models/querysets/#django.db.models.query.QuerySet.annotate) or [`QuerySet.alias()`](/ga/6.1/ref/models/querysets/#django.db.models.query.QuerySet.alias).
