CVE-2026-132092 PUBLISHED

Potential SQL injection in range and in lookups

Assigner: DSF
Reserved: 18.11.2026 Published: 02.12.2026 Updated: 02.12.2026

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.

Metrics

CVSS 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
CVSS Score: 9.3

Product Status

Vendor djangoproject
Product Django
Versions Default: unaffected
  • affected from 6.1 to 6.1.4 (excl.)
  • Version 6.1.4 is unaffected
  • affected from 6.0 to 6.0.11 (excl.)
  • Version 6.0.11 is unaffected
  • affected from 5.2 to 5.2.20 (excl.)
  • Version 5.2.20 is unaffected

Credits

  • Cristian Panaro reporter
  • Sarah Boyce remediation developer
  • Jacob Walls remediation developer
  • Simon Charette remediation reviewer
  • Jacob Walls coordinator

References

Problem Types

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') CWE

Impacts

  • CAPEC-66: SQL Injection