---
title: "Django 5.1.12 release notes"
version: 5.2
locale: fr
source: https://docs.djangoproject.com/fr/5.2/releases/5.1.12/
canonical: https://djangodocs.dev/fr/5.2/releases/5.1.12/
---
# Django 5.1.12 release notes

*September 3, 2025*

Django 5.1.12 fixes a security issue with severity « high » in 5.1.11.

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

[`FilteredRelation`](/fr/5.2/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()`](/fr/5.2/ref/models/querysets/#django.db.models.query.QuerySet.annotate) or [`QuerySet.alias()`](/fr/5.2/ref/models/querysets/#django.db.models.query.QuerySet.alias).
