ADVISORIES

Vulnerability

CVE-2024-42005

An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. QuerySet.values() and values_list() methods on models with a JSONField are subject to SQL injection in column aliases via a crafted JSON object key as a passed *arg.

26 advisories report this vulnerability, across 8 ecosystems.

Advisories in PyPI

  • GHSA-pv4p-cwwg-4rph

    Django SQL injection vulnerability

    Critical CVE-2024-42005 PyPI Updated 4 November 2025
  • PYSEC-2024-70

    An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. QuerySet.values() and values_list() methods on models with a JSONField are subject to SQL injection in column aliases via a crafted JSON object…

    CVE-2024-42005 PyPI Updated 10 June 2026

References