Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › Vulnerabilities › djangoproject

Critical 9.3 7 CVEs Analysis

Seven Django flaws fixed in 6.1.4, 6.0.11 and 5.2.20, including a critical SQL injection

NVD published seven Django vulnerabilities on 2026-12-02, affecting Django 6.1 before 6.1.4, 6.0 before 6.0.11 and 5.2 before 5.2.20. The most severe is a critical SQL injection, and a high-severity file-creation flaw in the GIS raster field could enable remote code execution depending on the raster driver.

What to look into

  • 7 vulnerabilities in djangoproject Django: 1 critical, 1 high, 5 medium (CVSS up to 9.3).
  • None of them is known to be exploited yet.
  • Start with CVE-2026-132092 (9.3 critical): 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 cont… An attacker without an account can exploit this over the network, without any user action.
  • 4 of 7 can be attacked over the network without logging in, 3 of them without anyone clicking anything.
  • Kinds of flaws: Exposure of Sensitive Information to an Unauthorized Actor (×2); Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'); External Control of File Name or Path; Incorrect Calculation of Buffer Size.
AIPythonVulnerabilitiesWeb

Key points

  • Seven Django flaws were published together, all fixed in 6.1.4, 6.0.11 and 5.2.20.
  • CVE-2026-132092 is a critical SQL injection (CVSS 9.3) in the range and in lookups.
  • CVE-2026-124827 (CVSS 8.7) could enable remote code execution via the GIS RasterField, depending on the raster driver.
  • The remaining issues are medium severity: cache poisoning, a GDAL buffer problem, admin enumeration and XSS.
  • The records do not say any of these flaws is known to be exploited.

Overview

NVD published seven Django vulnerabilities on 2026-12-02. All of them affect Django 6.1 before 6.1.4, 6.0 before 6.0.11 and 5.2 before 5.2.20. The batch covers SQL injection, unsafe file creation, a buffer sizing error, cache poisoning, two admin information-disclosure issues and cross-site scripting. The records state that earlier, unsupported series such as 5.1.x, 5.0.x and 4.2.x were not evaluated and may also be affected.

Most severe issues

CVE-2026-132092 is rated CRITICAL (CVSS 9.3). The range and in lookups are subject to SQL injection in queries involving aliases or key transforms that contain percent signs.

CVE-2026-124827 is rated HIGH (CVSS 8.7). In django.contrib.gis.db.models.RasterField, the name parameter of a data definition can be used to create files at attacker-controlled locations. The records say that, depending on the raster driver, this could enable remote code execution.

Other flaws

CVE-2026-125673 (CVSS 6.3) concerns the cache middleware and the cachepage decorator. According to the records, a bug in buildabsoluteuri mishandles request paths containing . or .. segments, which under certain deployment and URL configurations lets an unauthenticated attacker poison the cache.

CVE-2026-132809 (CVSS 6.9) involves OGRGeometry.wkb, which allocates an undersized buffer for geometries larger than 4GB on 64-bit platforms. The records say this can cause service degradation when GDAL writes to it.

CVE-2026-127929 and CVE-2026-119642 (both CVSS 5.1) affect the admin changelist. Staff users with view permission can enumerate model data through repeated lookups. The first requires knowledge of related model names or relatedqueryname overrides, and the second involves a custom OneToOneField primary key and the pk alias.

CVE-2026-115868 (CVSS 5.1) is a potential XSS issue in the truncatecharshtml filter and Truncator.chars with html=True. It arises when certain inputs whose length matches the truncation length are rendered in an HTML attribute.

Exploitation and fixes

The records do not state that any of these flaws is known to be exploited. The fixed releases they name are 6.1.4, 6.0.11 and 5.2.20. Workarounds and detection guidance are not stated in the sources.

What to do

  1. Upgrade Django 6.1 installations to 6.1.4 or later, 6.0 installations to 6.0.11 or later, and 5.2 installations to 5.2.20 or later.
  2. Check whether any deployment runs an earlier series such as 5.1.x, 5.0.x or 4.2.x, since the records say these were not evaluated and may also be affected.
  3. Prioritise the RasterField and range/in lookup fixes if the application uses GIS raster fields or those lookups.

Our article about all 7 vulnerabilities, written with AI assistance from the official records listed below. Each CVE's page has its details.

The 7 vulnerabilities

  • CVE-2026-132092 9.3 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, unsupport…
  • CVE-2026-124827 8.7 Django RasterField flaw CVE-2026-124827: server-side file write via GDAL non-default driver on PostGIS
  • CVE-2026-132809 6.9 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. django.contrib.gis.gdal.OGRGeometry.wkb allocates an undersized buffer for geometries larger than 4GB on 64-bit platforms, which can cause servic…
  • CVE-2026-125673 6.3 Django cache poisoning via dot-segment mishandling in buildabsoluteuri (CVE-2026-125673)
  • CVE-2026-127929 5.1 Django Admin Changelist Information Leak in CVE-2026-127929
  • CVE-2026-119642 5.1 Django admin changelist information leakage via the 'pk' alias on OneToOneField (CVE-2026-119642)
  • CVE-2026-115868 5.1 Django truncatecharshtml and Truncator.chars(html=True) cross-site scripting flaw (CVE-2026-115868)

Frequently asked questions

How many djangoproject Django vulnerabilities were published on December 2, 2026?

7 vulnerabilities: 1 critical, 1 high, 5 medium, with CVSS scores up to 9.3.

Are any of them being exploited?

None of them is in CISA's Known Exploited Vulnerabilities catalog yet.

Which one should be fixed first?

CVE-2026-132092 (CVSS 9.3): 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 cont…

Original records