Potential SQL injection in range and in lookups
- Exploited
- No known exploitation
- Fix
- Fixed in 6.1.4, 6.0.11, 5.2.20
- Who is exposed
- Not reported
Summary
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.
What to do
Upgrade to a fixed version: 6.1.4, 6.0.11, 5.2.20.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-132092 (Potential SQL injection in range and in lookups), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-132092 (entry last updated 2026-12-02):
Affected:
- PyPI package django: from 6.1, fixed in 6.1.4; from 6.0, fixed in 6.0.11; from 5.2, fixed in 5.2.20
Fixed versions: 6.1.4, 6.0.11, 5.2.20.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-132092 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-132092 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Packages (PyPI): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://docs.djangoproject.com/en/dev/releases/security/
- https://www.djangoproject.com/weblog/2026/dec/02/security-releases/
- https://github.com/django/django/commit/1eb6104c5805d55fca4cd6cf9c715521934d45fc
- https://github.com/django/django/commit/e0e7876984f1b0b63700e2743d6f2a3edf01e0c6
- https://github.com/django/django/commit/da230e17c9d77a2801419b911772aefe2cbed4b3
- https://github.com/django/django/commit/5a8963c9fcb45dba9825e19c19c4190ca4772768
- https://groups.google.com/g/django-announce
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-132092
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-132092"}.Affected versions
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure17/25No login or user action needed per the CVSS vector, reachable over the network without a login · Unknown: No advisory context yet
- Reach20/20django: 12M downloads a week
- Severity9.8/10CVSS 9.8
- No patch0/5No signal
What would change the score
- Would score about 92 if added to CISA KEV
- Would score about 87 if CISA's SSVC rates exploitation active
- Would score about 52 if advisories confirm default setups are exposed
Impact
- Widely useddjango has 12m weekly downloads. pypistats.org12.2k packages depend on django. deps.dev
Timeline
- CVE published
- First seen by cve.now
- Posted on X by cve.now
Evidence 9
| Kind | Source |
|---|---|
| Vendor advisory 2Establishes: Affected and fixed versions. | |
| Advisory | docs.djangoproject.com · en/dev/releases/security |
| Advisory | djangoproject.com · weblog/2026/dec/02/security-releases |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-132092 |
| Record | NVD · CVE-2026-132092 |
| Other links 5 | |
| Patch | GitHub · django/django · Commit 1eb6104c |
| Patch | GitHub · django/django · Commit e0e78769 |
| Patch | GitHub · django/django · Commit da230e17 |
| Patch | GitHub · django/django · Commit 5a8963c9 |
| Link | groups.google.com · g/django-announce |
Questions about CVE-2026-132092
Is CVE-2026-132092 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2026-132092?
django (PyPI): from 6.1 before 6.1.4; from 6.0 before 6.0.11; from 5.2 before 5.2.20.
Source: cve.now feed data
How do I fix CVE-2026-132092?
Upgrade to a fixed version: 6.1.4, 6.0.11, 5.2.20.
Source: cve.now feed data
Related
- CVE-2026-124827Server-side file-write via RasterField assignment
- CVE-2026-15307Server-side file-write and request forgery via spatial lookups
- CVE-2026-115868Potential cross-site scripting vulnerability in truncatechars_html
- CVE-2026-53878Header injection possibility since DomainNameValidator accepted newlines in input
- CVE-2026-132809Heap buffer overflow in OGRGeometry.wkb
- CVE-2026-114582Server-side request forgery via SpatialReference string input
No corrections so far. Something wrong on this page? Report an error.