djangoproject · Django · published 2026-08-04

CVE-2026-15307Server-side file-write and request forgery via spatial lookups

This month EPSS 1.1% with high severity (CVSS 8.7).

CVE-2026-15307 is not known to be exploited in the wild. EPSS estimates a 1.1% chance of exploitation in the next 30 days, higher than 67% of all CVEs. This Django vulnerability: CVSS 8.7 (v4.0), a successful attack gives total control of the component. Fixed upstream in Django 6.1.2, 6.0.9, 5.2.18; patched packages are out for Ubuntu; Debian still has unfixed releases. Patch in your normal monthly cycle.

Share this

Remediation#

Fixed upstream in Django 6.1.2, 6.0.9, 5.2.18.

Linux distribution packages

If you run the distro’s package rather than an upstream build, this is the version to look for.

DistroReleasePackageStatus
Debian13 trixiepython-djangoNo fix yet
12 bookwormpython-djangoWon’t fix
Ubuntu26.04 LTSpython-djangoFixed in 3:5.2.9-0ubuntu4.3
24.04 LTSpython-djangoFixed in 3:4.2.11-1ubuntu1.18
22.04 LTSpython-djangoFixed in 2:3.2.12-2ubuntu1.29

From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.

Patch events

  1. This monthSecurity release

    Web frameworkDjango

    Django security releases: 6.1.2, 6.0.9, 5.2.18

    Upgrade to 6.1.26.0.95.2.18

    Why: CVE-2026-15307: EPSS 1.1% with high severity (CVSS 8.7).

Exploit intelligence#

SignalValueSource
Known exploitedNoCISA KEV
Ransomware use—CISA KEV
EPSS (30-day exploitation probability)1.1% (67th pct)FIRST EPSS v2026.06.15
CVSS base score8.7 (v4.0)
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
CNA / CISA ADP
SSVC exploitationnoneCISA Vulnrichment
SSVC automatableNoCISA Vulnrichment
SSVC technical impacttotalCISA Vulnrichment

Affected versions (from the CVE record)#

Description (from the CVE record)#

An issue was discovered in Django 5.2 before 5.2.17 and 6.0 before 6.0.8. GeoDjango spatial lookups optimistically parse the right-hand-side value as a raster by passing it to the `django.contrib.gis.gdal.GDALRaster` constructor. Any value used in a spatial lookup against a `GeometryField` or `RasterField` reaches this constructor, including untrusted input, for example a spatial-field filter submitted through the Django admin changelist query string by a staff user with view permission. A `dict`, or a `str` holding its JSON representation, is opened in write mode regardless of the constructor's `write=False` default, allowing a file with an attacker-chosen name and contents to be written through a file-backed GDAL driver. Any other `str` is treated as a datasource, allowing an outbound network request through a GDAL virtual filesystem handler. Writing a file to a location later imported by the application can result in remote code execution. Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected. Django would like to thank Bence Nagy, localhost-detect, and kimchunbok_ for reporting this issue.

Quoted from the CVE Program record.

Elsewhere#

Distro status: Debian · Ubuntu · Red Hat · Alpine

Something wrong on this page?
Anonymous. Reports are checked against the primary source.

Also on today's list

See today's list → · Coming up →