ADVISORIES

Vulnerability

CVE-2026-15307

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.

47 advisories report this vulnerability, across 9 ecosystems.

Advisories

  • ALPINE-CVE-2026-15307

    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`…

    CVE-2026-15307 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2026-15307
    CVE-2026-15307 Alpine Updated 18 November 2026
  • CGA-2gq8-x2r3-c3q9
    CVE-2026-15307 Chainguard Updated 5 November 2026
  • CGA-2mq3-5gpg-3fp8
    CVE-2026-15307 Chainguard Updated 5 November 2026
  • CGA-3889-56m4-w5gw
    CVE-2026-15307 Chainguard Updated 5 November 2026
  • CGA-3cg3-j59h-6gqj
    CVE-2026-15307 Chainguard Updated 5 November 2026
  • CGA-3hpw-hwg6-j672
    CVE-2026-15307 Chainguard Updated 5 November 2026
  • CGA-3j8w-32cf-hxv6
    CVE-2026-15307 Chainguard Updated 5 November 2026
  • CGA-3qhv-3j83-h27q
    CVE-2026-15307 Chainguard Updated 5 November 2026
  • CGA-5g5h-m782-rj8f
    CVE-2026-15307 Chainguard Updated 5 November 2026
  • CGA-638x-3vcq-6hwp
    CVE-2026-15307 Chainguard Updated 5 November 2026
  • CGA-9w3x-4x57-w9cv
    CVE-2026-15307 Chainguard Updated 5 November 2026
  • CGA-cpw9-5xh5-42vj
    CVE-2026-15307 Chainguard Updated 5 November 2026
  • CGA-fggv-44q2-3jj9
    CVE-2026-15307 Chainguard Updated 5 November 2026
  • CGA-g2wc-23fj-2pp9
    CVE-2026-15307 Chainguard Updated 5 November 2026
  • CGA-g3mw-83x2-4q5g
    CVE-2026-15307 Chainguard Updated 5 November 2026
  • CGA-gqff-54wr-8373
    CVE-2026-15307 Chainguard Updated 5 November 2026
  • CGA-hh27-rpx2-h9g3
    CVE-2026-15307 Chainguard Updated 5 November 2026
  • CGA-hmc8-f2xh-hcqg
    CVE-2026-15307 Chainguard Updated 5 November 2026
  • CGA-phfx-c68x-27qc
    CVE-2026-15307 Chainguard Updated 5 November 2026
  • CGA-q2v4-3mv6-crr8
    CVE-2026-15307 Chainguard Updated 5 November 2026
  • CGA-qrvm-wm75-wxgj
    CVE-2026-15307 Chainguard Updated 5 November 2026
  • CGA-vxvp-pq93-p8ch
    CVE-2026-15307 Chainguard Updated 5 November 2026
  • CGA-wj4v-4wpx-93f9
    CVE-2026-15307 Chainguard Updated 5 November 2026
  • CGA-x2wf-8w6w-57cf
    CVE-2026-15307 Chainguard Updated 5 November 2026
  • CGA-xmjc-cq69-cw6r
    CVE-2026-15307 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2026-15307

    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`…

    CVE-2026-15307 Debian Updated 25 October 2026
  • GHSA-wvqv-fj8w-qmhm

    Django GeoDjango spatial lookups allow file writes and outbound requests through GDAL raster parsing

    High CVE-2026-15307 PyPI Updated 1 October 2026
  • OESA-2026-3496

    python-django security update

    High CVE-2026-15307CVE-2026-15337CVE-2026-15830CVE-2026-15920 openEuler Updated 30 August 2026
  • OESA-2026-3497

    python-django security update

    High CVE-2026-15307CVE-2026-15337CVE-2026-15830CVE-2026-15920 openEuler Updated 30 August 2026
  • OESA-2026-3498

    python-django security update

    High CVE-2026-15307CVE-2026-15337CVE-2026-15830CVE-2026-15920 openEuler Updated 30 August 2026
  • OESA-2026-3499

    python-django security update

    High CVE-2026-15307CVE-2026-15337CVE-2026-15830CVE-2026-15920 openEuler Updated 30 August 2026
  • PYSEC-2026-4035

    Django GeoDjango spatial lookups allow file writes and outbound requests through GDAL raster parsing

    CVE-2026-15307 PyPI Updated 1 October 2026
  • RHSA-2026:59135

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update

    CVE-2026-15307CVE-2026-34993CVE-2026-39373CVE-2026-44705 Red Hat Updated 23 November 2026
  • RHSA-2026:59136

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update

    CVE-2026-12143CVE-2026-15307CVE-2026-34993CVE-2026-39373 Red Hat Updated 24 November 2026
  • RHSA-2026:59137

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.7 Product Security and Bug Fix Update

    CVE-2026-15307CVE-2026-52902 Red Hat Updated 13 November 2026
  • RHSA-2026:92861

    Red Hat Security Advisory: Satellite 6.19 security update

    Known exploited CVE-2026-110856CVE-2026-110857CVE-2026-110858CVE-2026-110859 Red Hat Updated 23 November 2026
  • RHSA-2026:95655

    Red Hat Security Advisory: Satellite 6.16 EUS security update

    Known exploited CVE-2026-104895CVE-2026-110264CVE-2026-110856CVE-2026-110857 Red Hat Updated 23 November 2026
  • RHSA-2026:95656

    Red Hat Security Advisory: Satellite 6.17 security update

    Known exploited CVE-2026-104895CVE-2026-110264CVE-2026-110856CVE-2026-110857 Red Hat Updated 23 November 2026
  • RHSA-2026:95657

    Red Hat Security Advisory: Satellite 6.18 security update

    Known exploited CVE-2026-104895CVE-2026-110264CVE-2026-110856CVE-2026-110857 Red Hat Updated 23 November 2026
  • SUSE-SU-2026:3503-1

    Security update for python-Django

    CVE-2026-15307CVE-2026-15337CVE-2026-15830CVE-2026-15920 SUSE Updated 6 August 2026
  • UBUNTU-CVE-2026-15307

    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`…

    CVE-2026-15307 Ubuntu Updated 2 October 2026
  • USN-8848-1

    python-django vulnerabilities

    CVE-2026-15307CVE-2026-6907CVE-2026-8404 Ubuntu Updated 2 October 2026
  • openSUSE-SU-2026:11464-1

    python313-Django-6.0.8-1.1 on GA media

    CVE-2026-15307CVE-2026-15337CVE-2026-15830CVE-2026-15920 openSUSE Updated 7 August 2026
  • openSUSE-SU-2026:11465-1

    python313-Django4-4.2.30-5.1 on GA media

    CVE-2026-15307CVE-2026-15337CVE-2026-15830CVE-2026-15920 openSUSE Updated 7 August 2026
  • openSUSE-SU-2026:11491-1

    python313-Django5-5.2.17-1.1 on GA media

    CVE-2026-15307CVE-2026-15337CVE-2026-15830CVE-2026-15920 openSUSE Updated 11 August 2026
  • openSUSE-SU-2026:21543-1

    Security update for python-Django

    CVE-2026-15307CVE-2026-15337CVE-2026-15830CVE-2026-15920 openSUSE Updated 7 August 2026

References