Feed
9.8CRITICAL

CVE-2020-7471SQL injection in Django

A critical-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 65.6% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
65.6%
percentile 99%
Priority
75/100 high
how it is computed
Fix
Named by a source
CVE published 3 Feb 2020 (approx.)

Reference

None of the "Needs attention" rules apply right now.

EPSS 65.6% (+50) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)

Immediate actions

Who should check

  • django (PyPI) pkg:pypi/django

    • Affected< 1.11.28Fixed in1.11.28OSV (GHSA-hmr4-m2h5-33qx)
    • Affected>= 2.0, < 2.2.10Fixed in2.2.10OSV (GHSA-hmr4-m2h5-33qx)
    • Affected>= 3.0, < 3.0.3Fixed in3.0.3OSV (PYSEC-2020-35)
    • Affected>= 1.11, < 1.11.28Fixed in1.11.28OSV (PYSEC-2020-35)
    • Affected>= 2.2, < 2.2.10Fixed in2.2.10OSV (PYSEC-2020-35)

Confirmed facts

CVSS
9.8 CRITICAL (version 3.1)
Score from
GitHub Advisory Database (GHSA-hmr4-m2h5-33qx)
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Weakness
CWE-89

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)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.

Update history

  • 8 Jun 2026Exploitation more likely 9.4% → 15.4%
  • 3 Jun 2026Exploitation more likely 9.4% → 13.9%
  • 18 Nov 2025Exploitation more likely 7.8% → 12.5%

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 26 min ago · osv 25 min ago · nvd 86 min ago · epss 25 min ago · JSON · ask via MCP: explain_vulnerability

Also known as BIT-django-2020-7471, GHSA-hmr4-m2h5-33qx, PYSEC-2020-35