CVE-2020-7471

CRITICAL
9.8
CVSS Score
Published: February 3, 2020 at 11:59 AM UTC
Updated: June 17, 2026 at 03:24 AM UTC
1 product affected across 1 vendorDjango

Using N/A by N/A?

Get instant alerts when new vulnerabilities affect N/A - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
CRITICAL9.8
Exploit prediction
EPSS 66%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

1.11 ≤ v < 1.11.282.2 ≤ v < 2.2.103.0 ≤ v < 3.0.3
Affected range stops below 1.11.28, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.2.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.0.3, so it looks safe — our inference, not a vendor statement

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-89

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card