Skip to main content
No exploitation reportedFix available

CVE-2026-15307

No exploitation reported by the sources we read.

  • Published2026-08-04
  • Fixed in6.0.8 · 5.2.17
  • WeaknessCWE-73 · CWE-918

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2026-08-0417:16CVE publishedNVD

Versions per branch

NVD · OSV
Django
BranchAffectedFixed in
6.0≥ 6.0, < 6.0.86.0.8
6.0≥ 6.0.0, < 6.0.86.0.8
6.0≥ 6.0a1, < 6.0.86.0.8
5.2< 5.2.175.2.17

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As DSF, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • djangoproject Djangoother versions: not affected

    package djangohttps://pypi.org/project/Django/

    Affected
    • ≥ 6.0, < 6.0.8fixed in 6.0.8python
    • ≥ 5.2, < 5.2.17fixed in 5.2.17python

    Not affected = 6.0.8 · = 5.2.17

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-08-04

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • authentik-2025.12Chainguardall versions · no fixed version listedand 2 other packages
  • authentik-2026.2Chainguardall versions · fixed in 2026.2.7-r3
  • authentik-2026.5Chainguardall versions · fixed in 2026.5.7-r7
  • automation-controller-cliRed Hat:ansible_automation_platform:2.7::el10all versions · fixed in 0:4.8.6-1.el10ap
  • automation-controller-cliRed Hat:ansible_automation_platform:2.7::el9all versions · fixed in 0:4.8.6-1.el9ap
  • automation-controller-cliRed Hat:ansible_automation_platform:2.6::el9all versions · fixed in 0:4.7.16-1.el9apand 1 other package
  • automation-controller-cliRed Hat:ansible_automation_platform:2.5::el9all versions · fixed in 0:4.6.32-1.el9apand 1 other package
  • automation-controller-cliRed Hat:ansible_automation_platform:2.5::el8all versions · fixed in 0:4.6.32-1.el8apand 1 other package

65 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-15307 Red Hat Product Security63 products fixed · 18 known affected

    django: Django: Remote code execution via GeoDjango spatial lookups

    ansible-automation-platform-25/ansible-dev-tools-rhel8 as a component of Red Hat Ansible Automation Platform 2 · ansible-automation-platform-26/ansible-dev-tools-rhel9 as a component of Red Hat Ansible Automation Platform 2 · ansible-automation-platform-27/aap-cloud-billing-rhel9 as a component of Red Hat Ansible Automation Platform 2 · +15 more

  • RHSA-2026:95655 Red Hat Product Security8 products fixed

    Red Hat Security Advisory: Satellite 6.16 EUS security update

  • RHSA-2026:95657 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Satellite 6.18 security update

  • RHSA-2026:95656 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Satellite 6.17 security update

  • RHSA-2026:92861 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Satellite 6.19 security update

  • RHSA-2026:71210 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Container Release Update

9 more advisories

Full record on NVD

Fix

  1. Update Django to 6.0.8 · 5.2.17
  2. Vendor fix Red Hat Product Security RHSA-2026:95655 · 16 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For detailed instructions how to apply this update, refer to: https://docs.redhat.com/en/documentation/red_hat_satellite/6.16/html/updating_red_hat_satellite/index Release Notes: Pro…
  3. Vendor fix Red Hat Product Security RHSA-2026:95657 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  4. Vendor fix Red Hat Product Security RHSA-2026:92861 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For detailed instructions on applying this update, refer to: https://docs.redhat.com/en/documentation/red_hat_satellite/6.19/html/updating_red_hat_satellite/index
  5. Vendor fix Red Hat Product Security RHSA-2026:71210 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5#Upgrading
  6. Vendor fix Red Hat Product Security RHSA-2026:71179 · 8 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6#Upgrade
  7. Vendor fix Red Hat Product Security RHSA-2026:67279 · 6 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.7#Upgrade

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-10-25
  • CISA-ADPSSVC decisionnone2026-08-04
  • CNACVSS 4.08.7known since 2026-10-25
  • CNACVSS 3.18.8known since 2026-10-25
  • CNAweakness (CWE)CWE-73, CWE-918known since 2026-10-25
  • FIRST EPSSEPSS score1.1 %2026-11-18
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHIGH2026-09-30

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 4.0 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
2026-08-04
Last Modified
2026-10-24
NVD status
Analyzed
GitHub Advisory
GHSA-wvqv-fj8w-qmhm

Frequently asked questions

What is 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.

Is CVE-2026-15307 actively exploited?

Active exploitation of CVE-2026-15307 has not been confirmed. Its EPSS score was 1.1% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-15307?

CVE-2026-15307 has a CVSS v3 base score of 8.8 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running Django? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record