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.
Published: 2026-12-02
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 02 Dec 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Django Project
Django Project django
Djangoproject
Djangoproject django
Vendors & Products Django Project
Django Project django
Djangoproject
Djangoproject django

Wed, 02 Dec 2026 13:30:00 +0000

Type Values Removed Values Added
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.
Title Potential SQL injection in range and in lookups
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Django Project Django
Djangoproject Django
cve-icon MITRE

Status: PUBLISHED

Assigner: DSF

Published:

Updated: 2026-12-03T14:03:56.289Z

Reserved: 2026-11-18T11:28:12.748Z

Link: CVE-2026-132092

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-12-02T14:17:12.123

Modified: 2026-12-03T14:18:50.847

Link: CVE-2026-132092

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-12-03T15:30:22Z

Weaknesses