1
0
mirror of https://github.com/django/django.git synced 2025-09-17 22:49:35 +00:00
django/docs/releases/5.2.6.txt
2025-09-03 13:10:58 +02:00

22 lines
801 B
Plaintext

==========================
Django 5.2.6 release notes
==========================
*September 3, 2025*
Django 5.2.6 fixes a security issue with severity "high" and one bug in 5.2.5.
CVE-2025-57833: Potential SQL injection in ``FilteredRelation`` column aliases
==============================================================================
:class:`.FilteredRelation` was subject to SQL injection in column aliases,
using a suitably crafted dictionary, with dictionary expansion, as the
``**kwargs`` passed to :meth:`.QuerySet.annotate` or :meth:`.QuerySet.alias`.
Bugfixes
========
* Fixed a bug where using ``QuerySet.values()`` or ``values_list()`` with a
``ForeignObject`` composed of multiple fields returned incorrect results
instead of tuples of the referenced fields (:ticket:`36431`).