Python Library Django 5.2.x < 5.2.20 / 6.0.x < 6.0.11 / 6.1.x < 6.1.4 Multiple Vulnerabilities

critical Nessus Plugin ID 392192

Synopsis

A Python library installed on the remote host is affected by multiple vulnerabilities.

Description

The detected version of the Django Python package is 5.2.x prior to 5.2.20, 6.0.x prior to 6.0.11, or 6.1.x prior to 6.1.4. It is, therefore, affected by multiple vulnerabilities, including:

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

- RasterField (django.contrib.gis) allows external control of file names or paths: a user-controlled name in an assigned raster definition can make GDAL write a file to an arbitrary location when a non-default driver is used, which could lead to remote code execution depending on the driver. (CVE-2026-124827)

- The truncatechars_html template filter and Truncator.chars() (with html=True) improperly neutralize input during web page generation (cross-site scripting) when certain inputs whose text length matches the truncation length are rendered in an HTML attribute. (CVE-2026-115868)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Django version 5.2.20, 6.0.11, 6.1.4 or later.

See Also

https://docs.djangoproject.com/en/dev/releases/5.2.20/

https://docs.djangoproject.com/en/dev/releases/6.0.11/

https://docs.djangoproject.com/en/dev/releases/6.1.4/

https://www.djangoproject.com/weblog/2026/dec/02/security-releases/

Plugin Details

Severity: Critical

ID: 392192

File Name: python_django_6_1_4.nasl

Version: 1.1

Type: Local

Agent: windows, macosx, unix

Family: Misc.

Published: 12/2/2026

Updated: 12/2/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

CVSS Score Rationale: Score based on nvd cvssv3 vector (av:n/ac:l/pr:n).

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 96.21

CVSS v2

Risk Factor: Critical

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-132092

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4

Risk Factor: Critical

Base 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

Vulnerability Information

CPE: cpe:/a:djangoproject:django

Patch Publication Date: 12/2/2026

Vulnerability Publication Date: 12/2/2026

Reference Information

CVE: CVE-2026-115868, CVE-2026-119642, CVE-2026-124827, CVE-2026-125673, CVE-2026-127929, CVE-2026-132092, CVE-2026-132809

CWE: 131, 41, 73, 79, 89