ADVISORIES

Vulnerability

CVE-2022-28346

An issue was discovered in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. QuerySet.annotate(), aggregate(), and extra() methods are subject to SQL injection in column aliases via a crafted dictionary (with dictionary expansion) as the passed **kwargs.

29 advisories report this vulnerability, across 9 ecosystems.

Advisories

  • ALPINE-CVE-2022-28346

    An issue was discovered in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. QuerySet.annotate(), aggregate(), and extra() methods are subject to SQL injection in column aliases via a crafted dictionary…

    CVE-2022-28346 Alpine Updated 20 November 2026
  • ALPINE-EDGE-CVE-2022-28346
    CVE-2022-28346 Alpine Updated 18 November 2026
  • DEBIAN-CVE-2022-28346

    An issue was discovered in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. QuerySet.annotate(), aggregate(), and extra() methods are subject to SQL injection in column aliases via a crafted dictionary…

    CVE-2022-28346 Debian Updated 20 November 2026
  • DLA-2982-1

    python-django - security update

    CVE-2022-28346 Debian Updated 20 November 2026
  • DLA-3177-1

    python-django - security update

    CVE-2021-45115CVE-2021-45116CVE-2022-28346 Debian Updated 20 November 2026
  • DSA-5254-1

    python-django - security update

    CVE-2022-22818CVE-2022-23833CVE-2022-28346CVE-2022-28347 Debian Updated 20 November 2026
  • GHSA-2gwj-7jmv-h26r

    SQL Injection in Django

    Critical CVE-2022-28346 PyPI Updated 21 February 2025
  • OESA-2022-1642

    python-django security update

    Critical CVE-2022-28346CVE-2022-28347 openEuler Updated 18 August 2026
  • PYSEC-2022-190

    An issue was discovered in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. QuerySet.annotate(), aggregate(), and extra() methods are subject to SQL injection in column aliases via a crafted dictionary…

    CVE-2022-28346 PyPI Updated 6 December 2023
  • RHSA-2022:5115

    Red Hat Security Advisory: Red Hat OpenStack Platform 16.2 (python-django20) security update

    CVE-2022-28346 Red Hat Updated 13 November 2026
  • RHSA-2022:5498

    Red Hat Security Advisory: Satellite 6.11 Release

    CVE-2021-21290CVE-2021-21295CVE-2021-21409CVE-2021-30151 Red Hat Updated 13 November 2026
  • RHSA-2022:5602

    Red Hat Security Advisory: RHUI 4.1.1 release - Security Fixes and Enhancement Update

    CVE-2022-28346CVE-2022-28347 Red Hat Updated 13 November 2026
  • RHSA-2022:5702

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.1.2 security and bug fix update

    CVE-2022-28346CVE-2022-28347 Red Hat Updated 13 November 2026
  • RHSA-2022:5703

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 1.2 security update

    CVE-2022-28346CVE-2022-28347 Red Hat Updated 13 November 2026
  • RHSA-2022:8872

    Red Hat Security Advisory: Red Hat OpenStack Platform 16.1.9 (python-django20) security update

    CVE-2022-22818CVE-2022-23833CVE-2022-28346 Red Hat Updated 13 November 2026
  • RLSA-2022:5498

    Moderate: Satellite 6.11 Release

    CVE-2021-21290CVE-2021-21295CVE-2021-21409CVE-2021-30151 Rocky Linux Updated 5 February 2026
  • SUSE-SU-2022:3338-1

    Security update for ardana-ansible, ardana-cobbler, grafana, openstack-heat-templates, openstack-murano, python-Django, rabbitmq-server, rubygem-puma

    Known exploited CVE-2019-11287CVE-2020-1734CVE-2021-39226CVE-2021-44716 SUSE Updated 4 February 2026
  • SUSE-SU-2022:3339-1

    Security update for ardana-ansible, ardana-cobbler, ardana-tempest, grafana, openstack-heat-templates, openstack-horizon-plugin-gbp-ui, openstack-neutron-gbp, openstack-nova, python-Django1, rabbitmq-server, rubygem-puma

    Known exploited CVE-2019-11287CVE-2020-1734CVE-2021-39226CVE-2022-24790 SUSE Updated 4 February 2026
  • SUSE-SU-2024:2817-1

    Security update for python-Django

    CVE-2019-12308CVE-2022-28346CVE-2024-41989CVE-2024-41990 openSUSE Updated 4 February 2026
  • UBUNTU-CVE-2022-28346

    An issue was discovered in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. QuerySet.annotate(), aggregate(), and extra() methods are subject to SQL injection in column aliases via a crafted dictionary…

    CVE-2022-28346 Ubuntu Updated 4 February 2026
  • USN-5373-1

    python-django vulnerabilities

    CVE-2021-32052CVE-2022-28346CVE-2022-28347 Ubuntu Updated 10 February 2026
  • USN-5373-2

    python-django vulnerabilities

    CVE-2021-32052CVE-2022-28346 Ubuntu Updated 29 June 2026
  • openSUSE-SU-2023:0005-1

    Security update for python-Django

    CVE-2021-32052CVE-2021-33203CVE-2021-33571CVE-2021-44420 SUSEopenSUSE Updated 4 February 2026
  • openSUSE-SU-2024:12094-1

    python310-Django-4.0.4-1.1 on GA media

    CVE-2022-28346CVE-2022-28347 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:14208-1

    python310-Django4-4.2.14-1.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 4 February 2026
  • openSUSE-SU-2025:14662-1

    python311-Django-5.1.5-1.1 on GA media

    CVE-2021-45115CVE-2021-45452CVE-2022-22818CVE-2022-23833 openSUSE Updated 4 February 2026
  • openSUSE-SU-2026:10005-1

    python312-Django6-6.0-1.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:11235-1

    python313-Django4-4.2.30-4.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 10 July 2026
  • openSUSE-SU-2026:11270-1

    python313-Django5-5.2.16-1.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 15 July 2026

References