Python Library Django 5.2.x < 5.2.17 / 6.0.x < 6.0.8 Multiple Vulnerabilities

high Nessus Plugin ID 333309

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

- GeoDjango spatial lookups pass untrusted input to the GDALRaster constructor, allowing an attacker to write arbitrary files via a file-backed GDAL driver or trigger outbound network requests via GDAL virtual filesystem handlers, potentially resulting in remote code execution. (CVE-2026-15307)

- django.contrib.admin.utils.display_for_field() renders URLField values as clickable links without validating the URL scheme, allowing cross-site scripting against staff users who click a link with an unsafe scheme stored in the database. (CVE-2026-15920)

- django.utils.translation.check_for_language() retains many distinct, very long language codes as keys in an in-memory cache, allowing a potential denial-of-service attack that consumes process memory. (CVE-2026-15337)

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.17, 6.0.8 or later.

See Also

https://www.djangoproject.com/weblog/2026/aug/04/security-releases/

Plugin Details

Severity: High

ID: 333309

File Name: python_django_6_0_8.nasl

Version: 1.1

Type: Local

Agent: windows, macosx, unix

Family: Misc.

Published: 8/7/2026

Updated: 8/7/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 96.82

CVSS v2

Risk Factor: High

Base Score: 9

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

CVSS Score Source: CVE-2026-15307

CVSS v3

Risk Factor: High

Base Score: 8.8

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

CVSS v4

Risk Factor: High

Base Score: 8.7

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

Vulnerability Information

CPE: cpe:/a:djangoproject:django

Patch Publication Date: 8/4/2026

Vulnerability Publication Date: 8/4/2026

Reference Information

CVE: CVE-2026-15307, CVE-2026-15337, CVE-2026-15830, CVE-2026-15920

CWE: 674, 73, 789, 83, 918

IAVA: 2026-A-0809