Debian Codegraph @

docs/releases/5.1.13.txt

raw
1 ===========================
2 Django 5.1.13 release notes
3 ===========================
4
5 *October 1, 2025*
6
7 Django 5.1.13 fixes one security issue with severity "high" and one security
8 issue with severity "low" in 5.1.12.
9
10 CVE-2025-59681: Potential SQL injection in ``QuerySet.annotate()``, ``alias()``, ``aggregate()``, and ``extra()`` on MySQL and MariaDB
11 ======================================================================================================================================
12
13 :meth:`.QuerySet.annotate`, :meth:`~.QuerySet.alias`,
14 :meth:`~.QuerySet.aggregate`, and :meth:`~.QuerySet.extra` methods were subject
15 to SQL injection in column aliases, using a suitably crafted dictionary, with
16 dictionary expansion, as the ``**kwargs`` passed to these methods (follow up to
17 :cve:`2022-28346`).
18
19 CVE-2025-59682: Potential partial directory-traversal via ``archive.extract()``
20 ===============================================================================
21
22 The ``django.utils.archive.extract()`` function, used by
23 :option:`startapp --template` and :option:`startproject --template`, allowed
24 partial directory-traversal via an archive with file paths sharing a common
25 prefix with the target directory (follow up to :cve:`2021-3281`).