CVE-2026-132092
9.8CriticalPublished Dec 2, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite
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.1before6.1.4,6.0before6.0.11, and5.2before5.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.
$ 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
- https://docs.djangoproject.com/en/dev/releases/security/
- https://github.com/django/django/commit/1eb6104c5805d55fca4cd6cf9c715521934d45fc
- https://github.com/django/django/commit/5a8963c9fcb45dba9825e19c19c4190ca4772768
- https://github.com/django/django/commit/da230e17c9d77a2801419b911772aefe2cbed4b3
- https://github.com/django/django/commit/e0e7876984f1b0b63700e2743d6f2a3edf01e0c6
- https://groups.google.com/g/django-announce
- https://www.djangoproject.com/weblog/2026/dec/02/security-releases/
Related Critical CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1248278.8HighAuthenticated attackers can achieve remote code execution by writing files to arbitrary locations. This is possible through the RasterField name parameter in Django's GIS module.
- CVE-2026-887669.3CriticalLocal attackers can achieve arbitrary code execution with system privileges by sending a crafted APDU command to the VSIM service. This exploit requires local access to the device.
- CVE-2026-882539.8CriticalRemote attackers can achieve arbitrary code execution by sending a malformed JPEG image. No authentication or user interaction is required.
- CVE-2026-600519.8CriticalUnauthenticated attackers can modify device configurations via the MQTT service. This leads to a total loss of confidentiality, integrity, and availability.
- CVE-2026-1427099.1CriticalAuthenticated attackers can execute arbitrary OS commands as root via the configuration backup export function. This allows for full device compromise.
- CVE-2026-1427089.1CriticalAuthenticated attackers with administrative access can execute arbitrary OS commands via the captive portal. This allows full system compromise of the device.