Read the docs
TI-2020-05994 Aliases CVE-2020-7471GHSA-hmr4-m2h5-33qx

Django 1.11 before 1.11.28, 2.2 before 2.2.10, and 3.0 before 3.0.3 allows SQL Injection…

Priority HIGH 78CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 8 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-89.

Summary

Django 1.11 before 1.11.28, 2.2 before 2.2.10, and 3.0 before 3.0.3 allows SQL Injection if untrusted data is used as a StringAgg delimiter (e.g., in Django applications that offer downloads of data as a series of rows with a user-specified column delimiter). By passing a suitably crafted delimiter to a contrib.postgres.aggregates.StringAgg instance, it was possible to break escaping and inject malicious SQL.

Why it matters now

EPSS 0.65575 99th percentileScored 2026-11-07
Fix Partial Django (PyPI): 1.11.28, 2.2.10, 3.0.3Red Hat: 8 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—Django (PyPI)before 1.11.281.11.28Patch availableGHSA-hmr4-m2h5-33qx
—Django (PyPI)2.0 to before 2.2.102.2.10Patch availableGHSA-hmr4-m2h5-33qx
—Django (PyPI)3.0 to before 3.0.33.0.3Patch availableGHSA-hmr4-m2h5-33qx
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • Django (PyPI) Vendor— Affected before 1.11.28 Fixed in 1.11.28 Patch available GHSA-hmr4-m2h5-33qx
  • Django (PyPI) Vendor— Affected 2.0 to before 2.2.10 Fixed in 2.2.10 Patch available GHSA-hmr4-m2h5-33qx
  • Django (PyPI) Vendor— Affected 3.0 to before 3.0.3 Fixed in 3.0.3 Patch available GHSA-hmr4-m2h5-33qx

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*1.11 to before 1.11.28; 2.2 to before 2.2.10; 3.0 to before 3.0.3Vulnerabledjangoproject
  • cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* Versions 1.11 to before 1.11.28; 2.2 to before 2.2.10; 3.0 to before 3.0.3 Vulnerable ·djangoproject

Remediation

  • Fix · GHSA-hmr4-m2h5-33qx Django (PyPI) Fixed in 1.11.28 Advisory →
  • Fix · GHSA-hmr4-m2h5-33qx Django (PyPI) Fixed in 2.2.10 Advisory →
  • Fix · GHSA-hmr4-m2h5-33qx Django (PyPI) Fixed in 3.0.3 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Ceph Storage 2AffectedNo fix planned: Out of support scope
Red Hat OpenStack Platform 10 (Newton)AffectedNo fix planned: Out of support scope
Red Hat OpenStack Platform 13 (Queens)AffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 15 (Stein)AffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 16 (Train)AffectedNo fix yet: Fix deferred
Red Hat Satellite 6AffectedNo fix yet: Fix deferred
Red Hat Storage 3AffectedNo fix yet: Fix deferred
Red Hat Update Infrastructure 3 for Cloud ProvidersAffectedNo fix planned: Will not fix
Not affected: 2 products
  • Red Hat Ceph Storage 3
  • Red Hat Certification for Red Hat Enterprise Linux 7

Timeline

  1. 2026-10-02 Threatist record created from CVE-2020-7471
  2. 2026-10-03 Alias added: GHSA-hmr4-m2h5-33qx

References

  • TI-2022-15177 An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. CVSS 3.1CRITICAL 9.8
  • TI-2023-10198 An issue was discovered in the Multipart Request Parser in Django 3.2 before 3.2.18, 4.0… CVSS 3.1HIGH 7.5
  • TI-2019-14306 Django before 1.11.27, 2.x before 2.2.9, and 3.x before 3.0.1 allows account takeover. CVSS 3.1CRITICAL 9.8
  • TI-2019-10595 An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x… CVSS 3.0CRITICAL 9.8
  • TI-2021-14006 Django 3.1.x before 3.1.13 and 3.2.x before 3.2.5 allows QuerySet.order_by SQL injection… CVSS 3.1CRITICAL 9.8
  • TI-2025-35707 SQL injection in djangoproject Django CVSS 3.1HIGH 8.1
See all 156 →

Sources