Debian Codegraph @

docs/releases/5.2.6.txt

raw
1 ==========================
2 Django 5.2.6 release notes
3 ==========================
4
5 *September 3, 2025*
6
7 Django 5.2.6 fixes a security issue with severity "high" and one bug in 5.2.5.
8
9 CVE-2025-57833: Potential SQL injection in ``FilteredRelation`` column aliases
10 ==============================================================================
11
12 :class:`.FilteredRelation` was subject to SQL injection in column aliases,
13 using a suitably crafted dictionary, with dictionary expansion, as the
14 ``**kwargs`` passed to :meth:`.QuerySet.annotate` or :meth:`.QuerySet.alias`.
15
16 Bugfixes
17 ========
18
19 * Fixed a bug where using ``QuerySet.values()`` or ``values_list()`` with a
20 ``ForeignObject`` composed of multiple fields returned incorrect results
21 instead of tuples of the referenced fields (:ticket:`36431`).