patchminder
Proof of concept · GitHub CVE-2020-9402

SQL injectionin the django package.

Published 5 Mar 2020 · Updated 4 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
High 8.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 21.9% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 1.11.29, 2.2.11, 3.0.4
In plain words

Django 1.11 before 1.11.29, 2.2 before 2.2.11, and 3.0 before 3.0.4 allows SQL Injection if untrusted data is used as a tolerance parameter in GIS functions and aggregates on Oracle. By passing a suitably crafted tolerance to GIS functions and aggregates on Oracle, it was possible to break escaping and inject malicious SQL.

What to do now
  • Upgrade Django (PyPI) to 1.11.29, 2.2.11, 3.0.4 or later, whichever matches your release line.
  • Upgrade django (PyPI) to 1.11.29, 2.2.11, 3.0.4 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
n/a
Not confirmed
Not confirmed
CVE record
Django (PyPI)
1.11 to before 1.11.29
1.11.29
GitHub advisory
Django (PyPI)
2.2 to before 2.2.11
2.2.11
GitHub advisory
Django (PyPI)
3.0 to before 3.0.4
3.0.4
GitHub advisory
django (PyPI)
1.11 to before 1.11.29
1.11.29
GitHub advisory
django (PyPI)
2.2 to before 2.2.11
2.2.11
GitHub advisory
django (PyPI)
3.0 to before 3.0.4
3.0.4
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 25 Feb 2020
    CVE ID reserved by mitre.
  2. 5 Mar 2020
    Published in the CVE List.
  3. 4 Aug 2024
    CVE record last updated.
  4. 26 Nov 2026
    First public proof of concept on GitHub.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub).

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundgooglesky/CVE-2020-94020 stars · created 26 Nov 2026Django GIS tolerance parameter injects SQL on Oracle. Fixed in 2.2.11 / 3.0.4. Differential: SQL injected on vuln, rejected on fixed

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other vulnerabilities in this package

References
Cite this page

Patchminder. CVE-2020-9402: SQL injection in the django package. https://patchminder.com/cve/cve-2020-9402/ (accessed 5 December 2026).