ADVISORIES

Vulnerability

CVE-2024-53908

An issue was discovered in Django 5.1 before 5.1.4, 5.0 before 5.0.10, and 4.2 before 4.2.17. Direct usage of the django.db.models.fields.json.HasKey lookup, when an Oracle database is used, is subject to SQL injection if untrusted data is used as an lhs value. (Applications that use the jsonfield.has_key lookup via __ are unaffected.)

22 advisories report this vulnerability, across 10 ecosystems.

Advisories

  • ALPINE-CVE-2024-53908

    An issue was discovered in Django 5.1 before 5.1.4, 5.0 before 5.0.10, and 4.2 before 4.2.17. Direct usage of the django.db.models.fields.json.HasKey lookup, when an Oracle database is used, is subject to SQL injection…

    CVE-2024-53908 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2024-53908
    CVE-2024-53908 Alpine Updated 18 November 2026
  • CGA-c495-2rwf-93h2
    CVE-2024-53908 Chainguard Updated 29 October 2026
  • CGA-cfw3-hh6w-p73w
    CVE-2024-53908 ChainguardWolfi Updated 29 October 2026
  • CGA-g7px-gwhq-cr5r
    CVE-2024-53908 ChainguardWolfi Updated 29 October 2026
  • CGA-pc56-xcpw-ww56
    CVE-2024-53908 Chainguard Updated 29 October 2026
  • DEBIAN-CVE-2024-53908

    An issue was discovered in Django 5.1 before 5.1.4, 5.0 before 5.0.10, and 4.2 before 4.2.17. Direct usage of the django.db.models.fields.json.HasKey lookup, when an Oracle database is used, is subject to SQL injection…

    CVE-2024-53908 Debian Updated 2 November 2026
  • GHSA-m9g8-fxxm-xg86

    Django SQL injection in HasKey(lhs, rhs) on Oracle

    High CVE-2024-53908 PyPI Updated 10 September 2026
  • OESA-2024-2539

    python-django security update

    Critical CVE-2024-53907CVE-2024-53908 openEuler Updated 18 August 2026
  • OESA-2024-2540

    python-django security update

    Critical CVE-2024-53907CVE-2024-53908 openEuler Updated 18 August 2026
  • OESA-2024-2541

    python-django security update

    Critical CVE-2024-53907CVE-2024-53908 openEuler Updated 18 August 2026
  • OESA-2024-2543

    python-django security update

    Critical CVE-2024-53907CVE-2024-53908 openEuler Updated 18 August 2026
  • PYSEC-2024-157

    An issue was discovered in Django 5.1 before 5.1.4, 5.0 before 5.0.10, and 4.2 before 4.2.17. Direct usage of the django.db.models.fields.json.HasKey lookup, when an Oracle database is used, is subject to SQL injection…

    CVE-2024-53908 PyPI Updated 10 June 2026
  • RHSA-2025:0340

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update

    CVE-2024-11407CVE-2024-52304CVE-2024-53907CVE-2024-53908 Red Hat Updated 24 November 2026
  • RHSA-2025:0721

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update

    CVE-2024-53908CVE-2024-56201CVE-2024-56326 Red Hat Updated 24 November 2026
  • SUSE-SU-2024:4285-1

    Security update for python-Django

    CVE-2024-53907CVE-2024-53908 SUSEopenSUSE Updated 4 February 2026
  • UBUNTU-CVE-2024-53908

    An issue was discovered in Django 5.1 before 5.1.4, 5.0 before 5.0.10, and 4.2 before 4.2.17. Direct usage of the django.db.models.fields.json.HasKey lookup, when an Oracle database is used, is subject to SQL injection…

    CVE-2024-53908 Ubuntu Updated 4 February 2026
  • USN-7136-1

    python-django vulnerabilities

    CVE-2024-53907CVE-2024-53908 Ubuntu Updated 27 April 2026
  • openSUSE-SU-2024:14565-1

    python310-Django4-4.2.17-1.1 on GA media

    CVE-2024-53907CVE-2024-53908 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:14568-1

    python310-Django-5.1.4-1.1 on GA media

    CVE-2024-53907CVE-2024-53908 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: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