Skip to content
NewCybercrime Report 2026 · Eight Chapters · A Post Is Not An Incident → Explore The ChaptersCybercrime Report 2026 → Explore

Django Range and In Lookup SQL Injection (CVE-2026-132092)

CVE-2026-132092 is a potential SQL injection flaw in Django range and in lookups.

Reviewed by
Brandefense Analyst Team
Published
Reading Time
3 min read
CVE ID
CVE-2026-132092
Vendor
Django Software Foundation
Affected Product
Django
Exploitation
Not confirmed
Published
2026-12-02

CVE-2026-132092 is a potential SQL injection flaw in Django range and in lookups. Django says the vulnerable query must involve a column alias or key transform containing a percent sign. Its 2 December 2026 security release rates the issue high under Django's policy.The two lookup paths have different prerequisites. The range path requires the application to pass more than two right-hand-side values, which Django calls incorrect use. The in path requires a bilateral transform. These conditions matter when tracing whether untrusted input reaches an affected query.

What it allows

How Can CVE-2026-132092 Affect a Django Query?

Django identifies SQL injection in range and in lookups when the query uses an alias or key transform containing a percent sign. For range, the application must also supply more than two right-hand-side values. For in, the query must use a bilateral transform. The announcement does not say that ordinary uses of either lookup meet those conditions.

SQL injection can change how a database interprets a query. Django's advisory describes a potential weakness, not a confirmed compromise of every affected application. Our defensive reading is to trace input through the lookup and the alias or transform before assigning application-level exposure. The SQL injection explanation provides broader context.

Teams can use a vulnerability intelligence platform to support prioritization. The reviewed CISA catalog did not list CVE-2026-132092 in its 30 November 2026 edition. A catalog absence does not establish whether an application has been attacked.

Who is affected

Which CVE-2026-132092 Versions Need an Update?

The NVD record identifies Django 6.1 before 6.1.4, 6.0 before 6.0.11 and 5.2 before 5.2.20. Django says it patched its main, 6.1, 6.0 and 5.2 branches, then issued those three supported releases. Earlier unsupported series, including 5.1.x, 5.0.x and 4.2.x, were not evaluated and may also be affected.

First inventory running Django versions across services, workers and build artifacts. Then inspect application code that constructs range or in lookups with aliases or key transforms containing percent signs. For range, check whether a code path supplies more than two values; for in, check bilateral transforms. Treat this as a review plan derived from Django's stated prerequisites, not as evidence of exploitation.

Upgrade supported branches to at least 6.1.4, 6.0.11 or 5.2.20, respectively. Move unsupported branches to a supported fixed release through the normal compatibility process. Django says range now requires exactly two right-hand-side values, so test affected application queries after updating. Verify the version actually running in each deployed process and record the result in the vulnerability management process.

Timeline

  1. 2026-12-02

    Django released security fixes in 6.1.4, 6.0.11 and 5.2.20 and described the lookup conditions.

  2. 2026-12-02

    NVD published the CVE record and listed CVSS 4.0 and 3.1 scores.

What to do

  1. Inventory deployed Django branches

    Record the Django version actually running in each service and worker. Identify 6.1 releases before 6.1.4, 6.0 before 6.0.11, and 5.2 before 5.2.20.

  2. Review the conditional query paths

    Inspect range and in lookups that combine percent signs in aliases or key transforms with the additional conditions Django names. Trace whether untrusted input reaches those queries.

  3. Install the branch fix

    Update supported installations to Django 6.1.4, 6.0.11 or 5.2.20 or later in the corresponding branch. Plan migration for unsupported branches whose exposure was not evaluated.

  4. Verify the running version and behavior

    After deployment, confirm each process runs the fixed version. Test application queries that used range values and bilateral transforms, especially any range call with more than two values.

What Brandefense can do

Frequently Asked Questions

What conditions trigger CVE-2026-132092?

Django requires an alias or key transform containing a percent sign. The range path also requires more than two values; the in path requires a bilateral transform.

Which Django releases fix CVE-2026-132092?

Django issued 6.1.4, 6.0.11 and 5.2.20 on 2 December 2026. Match the fixed release to the branch in use and verify the deployed version.

Are unsupported Django series cleared?

No. The NVD record says earlier unsupported series, including 5.1.x, 5.0.x and 4.2.x, were not evaluated and may also be affected.

Why do Django and NVD use different severity labels?

Django calls the issue high under its security policy. The reviewed NVD record lists secondary Critical scores of 9.3 under CVSS 4.0 and 9.8 under CVSS 3.1.

Sources

  1. Django 5.2.20 release notesDjango
  2. Django security releases issued on 2 December 2026Django
  3. CVE-2026-132092 recordNVD
  4. Known Exploited Vulnerabilities CatalogCISA
ShareLinkedInX
Brandefense logo

Stay Ahead of Digital Threats.

Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.

Open The Full Demo Form →