CVE-2026-132092

9.8Critical

Published Dec 2, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite

9.8CVSS

Critical

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
Full C/I/A compromise
Weakness
CWE-89

What an attacker gets

Unauthenticated attackers can execute arbitrary SQL commands via crafted range or in lookups. This leads to full database compromise if the application uses aliases or key transforms with percent signs.

Root cause

The range and in lookups fail to properly sanitize input containing percent signs, leading to SQL injection.

Affected versions

  • Django 6.1 before 6.1.4, 6.0 before 6.0.11, and 5.2 before 5.2.20
  • older versions may also be vulnerable

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Fix & remediation

Upgrade to Django 6.1.4, 6.0.11, or 5.2.20. If you cannot patch immediately, audit your codebase for any range or in lookups that utilize user-supplied aliases or key transforms.

remediation — bash
$ pip install --upgrade "django>=6.1.4"

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

An issue was discovered in Django 6.1 before 6.1.4, 6.0 before 6.0.11, and 5.2 before 5.2.20. The `range` and `in` lookups are subject to SQL injection in a query involving aliases or key transforms containing percent signs. Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected. Django would like to thank Cristian Panaro for reporting this issue.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-132092

More fully triaged vulnerabilities you may want to check next.