Live threats

All CVEs / Djangoproject

CVE-2019-14234Djangoproject Django

Critical 9.8 No auth neededHigh EPSS

Priority
79
CVSS 3.0
9.8
EPSS
47.7%
probability of exploitation in 30 days · percentile 99
Auth required
No
Published
Aug 9, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4. Due to an error in shallow key transformation, key and index lookups for django.contrib.postgres.fields.JSONField, and key lookups for django.contrib.postgres.fields.HStoreField, were subject to SQL injection. This could, for example, be exploited via crafted use of "OR 1=1" in a key or index name to return all records, using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed to the QuerySet.filter() function.

Original NVD text.

What to do

  1. Apply the vendor's security update for Django.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI django ≥ 1.11a1 < 1.11.23 1.11.23 pip install "django>=1.11.23"
PyPI django ≥ 2.1a1 < 2.1.11 2.1.11 pip install "django>=2.1.11"
PyPI django ≥ 2.2a1 < 2.2.4 2.2.4 pip install "django>=2.2.4"
PyPI django ≥ 2.1 < 2.1.11 2.1.11 pip install "django>=2.1.11"
PyPI django ≥ 1.11 < 1.11.23 1.11.23 pip install "django>=1.11.23"
PyPI django ≥ 2.2 < 2.2.4 2.2.4 pip install "django>=2.2.4"

Per OSV / GitHub Advisories (GHSA-6r97-cj55-9hrq, PYSEC-2019-13). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
djangoprojectdjango≥ 1.11 < 1.11.23
djangoprojectdjango≥ 2.1 < 2.1.11
djangoprojectdjango≥ 2.2 < 2.2.4
fedoraprojectfedora30
debiandebian_linux9.0
debiandebian_linux10.0

Official sources

References

Links published by the sources. Open them with care.