External Control of File Name or Path Affecting django package, versions [5.2, 5.2.17)[6.0a1, 6.0.8)[6.1a1, 6.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.68% (50th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-DJANGO-18532925
  • published5 Aug 2026
  • disclosed4 Aug 2026
  • creditBence Nagy

Introduced: 4 Aug 2026

NewCVE-2026-15307  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

Upgrade Django to version 5.2.17, 6.0.8, 6.1 or higher.

Overview

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Affected versions of this package are vulnerable to External Control of File Name or Path via the GDALRaster constructor in spatial lookups. An attacker can write arbitrary files or trigger outbound network requests by supplying crafted input to spatial-field filters, potentially leading to remote code execution if a written file is later imported by the application.

CVSS Base Scores

version 4.0
version 3.1