home / blog
2026-12-02 · critical
CVE-2026-132092: Critical SQL injection vulnerability in Django
Critical vulnerability (CVSS 9.8) in Django for SQL injection in 'range' and 'in' lookups.

CVE-2026-132092 is a critical vulnerability in the Django framework that allows SQL injection through "range" and "in" lookups when used in queries containing aliases or key transforms with percent signs. The vulnerability affects versions 6.1 before 6.1.4, 6.0 before 6.0.11, and 5.2 before 5.2.20.
The vulnerability is classified as critical with a CVSS score of 9.8 and was published on December 2, 2026, in the National Vulnerability Database. Social media data shows the vulnerability has already attracted community attention with 8 posts in the last 24 hours.
To protect against this vulnerability, it is recommended to update Django to version 6.1.4, 6.0.11, or 5.2.20, depending on the version in use. If an immediate update is not possible, it is advisable to avoid using "range" and "in" lookups with queries containing aliases or key transforms with percent signs.
At a glance
- What
- SQL injection in "range" and "in" lookups in queries involving aliases or key transforms containing percent signs
- Severity
- Critical (CVSS 9.8)
- Affected versions
- Django 6.1 before 6.1.4, 6.0 before 6.0.11, 5.2 before 5.2.20
- Fix
- Update to Django 6.1.4, 6.0.11 or 5.2.20
- Status
- Published on December 2, 2026
- Action
- Apply the patch on supported versions
Sources: NVD, CVE-2026-132092