In accordance with our security release policy, the Django team is issuing Django 3.0.3, Django 2.2.10 and Django 1.11.28. These releases address the security issue detailed below. We encourage all users of Django to upgrade as soon as possible.

Thank you to Simon Charette for the report and patch.

django.contrib.postgres.aggregates.StringAgg aggregation function was subject to SQL injection, using a suitably crafted delimiter .

Resolution

Patches to resolve the issue have been applied to Django's master branch and the 3.0, 2.2, and 1.11 release branches. The patches may be obtained from the following changesets:

The following releases have been issued:

The PGP key ID used for these releases is Carlton Gibson: E17DF5C82B4F9D00.