SQL Injection Affecting django package, versions [,4.2.28)[5.0a1,5.2.11)[6.0a1,6.0.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
12.98% (96th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-DJANGO-15183335
  • published4 Feb 2026
  • disclosed3 Feb 2026
  • creditTarek Nakkouch

Introduced: 3 Feb 2026

CVE-2026-1207  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade Django to version 4.2.28, 5.2.11, 6.0.2 or higher.

Overview

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Affected versions of this package are vulnerable to SQL Injection via the band index parameter band_lhs in check_raster lookups when using PostGIS. An attacker can execute arbitrary SQL commands by supplying crafted input to this parameter.

CVSS Base Scores

version 4.0
version 3.1