Python Library Django 5.2.x < 5.2.16 / 6.0.x < 6.0.7 Multiple Vulnerabilities

medium Nessus Plugin ID 325899

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.16 or 6.0.x prior to 6.0.7. It is, therefore, affected by multiple vulnerabilities:

- django.contrib.gis.gdal.GDALRaster over-reads its in-memory buffer when constructed from a bytes object, which can disclose adjacent memory or cause service degradation via a potential segmentation fault when the vsi_buffer property is accessed. (CVE-2026-53877)

- DomainNameValidator does not prohibit newlines in domain names. If an application uses values with newlines in an HTTP response, header injection can occur. (CVE-2026-53878)

- UpdateCacheMiddleware and the cache_page() decorator cache responses that vary on cookies when the incoming request carries unrelated cookies, which allows remote attackers to read private data from the shared cache.
(CVE-2026-48588)

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.16, 6.0.7 or later.

See Also

https://www.djangoproject.com/weblog/2026/jul/07/security-releases/

Plugin Details

Severity: Medium

ID: 325899

File Name: python_django_6_0_7.nasl

Version: 1.2

Type: Local

Agent: windows, macosx, unix

Family: Misc.

Published: 7/9/2026

Updated: 7/10/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.1

Percentile: 53.65

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2026-53878

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6.3

Threat Score: 1.7

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N

CVSS Score Source: CVE-2026-53877

Vulnerability Information

CPE: cpe:/a:djangoproject:django

Exploit Ease: No known exploits are available

Patch Publication Date: 7/7/2026

Vulnerability Publication Date: 7/7/2026

Reference Information

CVE: CVE-2026-48588, CVE-2026-53877, CVE-2026-53878