CVE-2020-7471
Description
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.
Official description from the CVE record, published by mitre. Copyright © 1999-2026 The MITRE Corporation. See /security/cve/legal for the CVE license. View the record on cve.org
Key data
EPSS
- Score
- 0.65575 (65.6% probability)
- Percentile
- 99.3%
- Scores of
- Nov 10, 2026
- Model
- v2026.06.15
References
- groups.google.com/forum
- docs.djangoproject.com/en/3.0/releases/security
- openwall.com/lists/oss-security/2020/02/03/1
- djangoproject.com/weblog/2020/feb/03/security-releases
- [oss-security] 20200203 Django 3.0.3, 2.2.10 and 1.11.28: CVE-2020-7471: Potential SQL injection via ``StringAgg(delimiter)`` (openwall.com)mailing-list
- github.com/django/django/commit/eb31d845323618d688ad429479c…
- USN-4264-1 (usn.ubuntu.com)vendor-advisory
- 20200219 [SECURITY] [DSA 4629-1] python-django security update (seclists.org)mailing-list
- DSA-4629 (debian.org)vendor-advisory
- security.netapp.com/advisory/ntap-20200221-0006
- GLSA-202004-17 (security.gentoo.org)vendor-advisory
- FEDORA-2020-c2639662af (lists.fedoraproject.org)vendor-advisory
Timeline
- ID reserved
- Record published
- Record last updated
Look up another CVE
About CubePath
Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 19:51 UTC. Sources and licenses