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?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2026-08-0417:16CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 6.0 | ≥ 6.0, < 6.0.8 | 6.0.8 | NVD |
| 6.0 | ≥ 6.0.0, < 6.0.8 | 6.0.8 | OSV |
| 6.0 | ≥ 6.0a1, < 6.0.8 | 6.0.8 | OSV |
| 5.2 | < 5.2.17 | 5.2.17 | NVD · OSV |
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
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
Red Hat Security Advisory: Satellite 6.16 EUS security update
Red Hat Security Advisory: Satellite 6.18 security update
Red Hat Security Advisory: Satellite 6.17 security update
Red Hat Security Advisory: Satellite 6.19 security update
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Container Release Update
9 more advisories
Fix
- Update Django to 6.0.8 · 5.2.17
- 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…
- 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
- 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
- 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
- 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
- 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
- docs.djangoproject.comPatch · Vendor Advisory
- github.comPatch
- github.comPatch
- github.comPatch
- github.comPatch
- www.djangoproject.comVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-19
- 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
- BIT-django-2026-15307same flawBitnami · Apache-2.0
- CGA-2gq8-x2r3-c3q9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2mq3-5gpg-3fp8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3889-56m4-w5gwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3cg3-j59h-6gqjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3hpw-hwg6-j672same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3j8w-32cf-hxv6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3qhv-3j83-h27qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5g5h-m782-rj8fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-638x-3vcq-6hwpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9w3x-4x57-w9cvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cpw9-5xh5-42vjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fggv-44q2-3jj9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-g2wc-23fj-2pp9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-g3mw-83x2-4q5gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-gqff-54wr-8373same flawChainguard · CC-BY-NC-ND-4.0
- CGA-hh27-rpx2-h9g3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-hmc8-f2xh-hcqgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-phfx-c68x-27qcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-q2v4-3mv6-crr8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-qrvm-wm75-wxgjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-vxvp-pq93-p8chsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-wj4v-4wpx-93f9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-x2wf-8w6w-57cfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-xmjc-cq69-cw6rsame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2026-52747same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-wvqv-fj8w-qmhmsame flawGitHub Advisory Database · CC-BY-4.0
- MINI-26j7-vx32-vh87same flawMinimOS · LicenseRef-unstated
- MINI-f6wc-7wwf-4cqvsame flawMinimOS · LicenseRef-unstated
- PYSEC-2026-4035same flawPyPA Advisory Database · CC-BY-4.0
- MGASA-2026-0339advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2026-3496advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-3497advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-3498advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-3499advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2026:11464-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:11465-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:11491-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:21543-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2026:59135advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:59136advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:59137advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2026:3503-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-8848-1advisory covering several CVEsUbuntu
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?
Is CVE-2026-15307 actively exploited?
What is the CVSS score for CVE-2026-15307?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-wvqv-fj8w-qmhm
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0