<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/django/db/models/sql/query.py, branch stable/6.0.x</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=stable%2F6.0.x</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=stable%2F6.0.x'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2026-02-03T13:05:34Z</updated>
<entry>
<title>[6.0.x] Refs CVE-2026-1312 -- Raised ValueError when FilteredRelation aliases contain periods.</title>
<updated>2026-02-03T13:05:34Z</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2026-01-21T23:00:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=259dff061a9ea85f061ff71c0adb0e07ead693d3'/>
<id>urn:sha1:259dff061a9ea85f061ff71c0adb0e07ead693d3</id>
<content type='text'>
This prevents failures at the database layer, given that aliases in the
ON clause are not quoted.

Systematically quoting aliases even in FilteredRelation is tracked in
https://code.djangoproject.com/ticket/36795.

Backport of 005d60d97c4dfb117503bdb6f2facfcaf9315d84 from main.
</content>
</entry>
<entry>
<title>[6.0.x] Fixed CVE-2026-1287 -- Protected against SQL injection in column aliases via control characters.</title>
<updated>2026-02-03T13:03:39Z</updated>
<author>
<name>Jake Howard</name>
<email>git@theorangeone.net</email>
</author>
<published>2026-01-21T11:14:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=0c0f5c2178c01ada5410cd53b4b207bf7858b952'/>
<id>urn:sha1:0c0f5c2178c01ada5410cd53b4b207bf7858b952</id>
<content type='text'>
Control characters in FilteredRelation column aliases could be used for
SQL injection attacks. This affected QuerySet.annotate(), aggregate(),
extra(), values(), values_list(), and alias() when using dictionary
expansion with **kwargs.

Thanks Solomon Kebede for the report, and Simon Charette, Jacob Walls,
and Natalia Bidart for reviews.

Backport of e891a84c7ef9962bfcc3b4685690219542f86a22 from main.
</content>
</entry>
<entry>
<title>[6.0.x] Fixed CVE-2025-59681 -- Protected QuerySet.annotate(), alias(), aggregate(), and extra() against SQL injection in column aliases on MySQL/MariaDB.</title>
<updated>2025-10-01T12:17:15Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2025-09-10T07:53:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=4ceaaee7e04b416fc465e838a6ef43ca0ccffafe'/>
<id>urn:sha1:4ceaaee7e04b416fc465e838a6ef43ca0ccffafe</id>
<content type='text'>
Thanks sw0rd1ight for the report.

Follow up to 93cae5cb2f9a4ef1514cf1a41f714fef08005200.

Backport of 41b43c74bda19753c757036673ea9db74acf494a from main.
</content>
</entry>
<entry>
<title>Fixed CVE-2025-57833 -- Protected FilteredRelation against SQL injection in column aliases.</title>
<updated>2025-09-03T11:10:58Z</updated>
<author>
<name>Jake Howard</name>
<email>git@theorangeone.net</email>
</author>
<published>2025-08-13T12:13:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=51711717098d3f469f795dfa6bc3758b24f69ef7'/>
<id>urn:sha1:51711717098d3f469f795dfa6bc3758b24f69ef7</id>
<content type='text'>
Thanks Eyal Gabay (EyalSec) for the report.
</content>
</entry>
<entry>
<title>Fixed #36431 -- Returned tuples for multi-column ForeignObject in values()/values_list().</title>
<updated>2025-08-29T19:33:44Z</updated>
<author>
<name>SaJH</name>
<email>wogur981208@gmail.com</email>
</author>
<published>2025-08-29T15:45:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=bb7a7701b1a0e8fffe14dcebf5d5bac7f176c02a'/>
<id>urn:sha1:bb7a7701b1a0e8fffe14dcebf5d5bac7f176c02a</id>
<content type='text'>
Thanks Jacob Walls and Simon Charette for tests.

Signed-off-by: SaJH &lt;wogur981208@gmail.com&gt;
</content>
</entry>
<entry>
<title>Refs #36152 -- Suppressed duplicate warning when using "%" in alias via values().</title>
<updated>2025-08-29T17:45:08Z</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2025-08-26T12:54:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=2d453a2a683d73c64dc32286685eb40cbca7c425'/>
<id>urn:sha1:2d453a2a683d73c64dc32286685eb40cbca7c425</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #36210, Refs #36181 -- Allowed Subquery usage in further lookups against composite pks.</title>
<updated>2025-08-07T12:28:44Z</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2025-05-12T02:04:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=fd569dd45bf0746378faf7f65172497f21ed27f0'/>
<id>urn:sha1:fd569dd45bf0746378faf7f65172497f21ed27f0</id>
<content type='text'>
Follow-up to 8561100425876bde3be4b2a22324655f74ff9609.

Co-authored-by: Simon Charette &lt;charette.s@gmail.com&gt;
</content>
</entry>
<entry>
<title>Refs #36500 -- Corrected rewrapped long lines fixed via a script.</title>
<updated>2025-07-23T23:17:55Z</updated>
<author>
<name>Mike Edmunds</name>
<email>medmunds@gmail.com</email>
</author>
<published>2025-07-23T03:44:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=78298b51629e14c0e472898b635bc819d47b7f27'/>
<id>urn:sha1:78298b51629e14c0e472898b635bc819d47b7f27</id>
<content type='text'>
Manually reformatted some comments and docstrings where autofix_w505.py
changed the meaning of the formatting.
</content>
</entry>
<entry>
<title>Refs #36500 -- Rewrapped long docstrings and block comments via a script.</title>
<updated>2025-07-23T23:17:55Z</updated>
<author>
<name>django-bot</name>
<email>ops@djangoproject.com</email>
</author>
<published>2025-07-23T03:41:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=69a93a88edb56ba47f624dac7a21aacc47ea474f'/>
<id>urn:sha1:69a93a88edb56ba47f624dac7a21aacc47ea474f</id>
<content type='text'>
Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505.
</content>
</entry>
<entry>
<title>Fixed #36152 -- Deprecated use of "%" in column aliases.</title>
<updated>2025-06-20T06:25:22Z</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2025-02-18T00:27:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=8ede411a81b40ca53362e6788601193c7e56a0cf'/>
<id>urn:sha1:8ede411a81b40ca53362e6788601193c7e56a0cf</id>
<content type='text'>
Unintentional support existed only on SQLite and Oracle.
</content>
</entry>
</feed>
