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.
CVE-2026-15307
Score 8.8 from GitHub Security Advisory (severity: HIGH) published 2026-08-04. a secondary CVSS source baseline 8.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.8
- EG Score
- 8.8(medium)
- EG Risk
- 40(Track)EG Risk 40/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity88% × 45%Exploitation1% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 1%
- EPSS %ILE
- 58%
- KEV
- Not listed
Published
August 4, 2026
Last Modified
August 18, 2026
Advisory Details (7)
Auto-updated Aug 4, 2026Django security releases issued: 6.0.8 and 5.2.17 | Weblog | Django
https://www.djangoproject.com/weblog/2026/aug/04/security-releases/commit 115ffd0463a7 (django/django)
Fix landed in django/django commit 115ffd0463a7 — awaiting tagged release
https://github.com/django/django/commit/115ffd0463a765ab1cc93de18e94b5459b8a300ecommit 208f80cb6828 (django/django)
Fix landed in django/django commit 208f80cb6828 — awaiting tagged release
https://github.com/django/django/commit/208f80cb682868b584ed0a78f23e4ba6304212aacommit 39b3e2d0c743 (django/django)
Fix landed in django/django commit 39b3e2d0c743 — awaiting tagged release
https://github.com/django/django/commit/39b3e2d0c743a338def6c473086ebc06865e86b6commit f1949c1f9758 (django/django)
Fix landed in django/django commit f1949c1f9758 — awaiting tagged release
https://github.com/django/django/commit/f1949c1f9758947ade984c895ff16bef46f56520Archive of security issues | Django documentation | Django
https://docs.djangoproject.com/en/dev/releases/security/Vendor Advisories for CVE-2026-15307(8)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:66003Red Hat Product SecurityHigh
Red Hat Security Advisory: Ansible automation portal Red Hat Enterprise Linux Images
- RHSA-2026:59159Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Container Release Update
- RHSA-2026:59155Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Container Release Update
- RHSA-2026:59153Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.7 Container Release Update
- RHSA-2026:59136Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update
- RHSA-2026:59135Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update
- RHSA-2026:59137Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.7 Product Security and Bug Fix Update
- GHSA-wvqv-fj8w-qmhmGitHub Security AdvisoriesHigh
An issue was discovered in Django 5.2 before 5.2.17 and 6.0 before 6.0.8. GeoDjango spatial...
Patch Availability(5)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | ansible-automation-platform/bootc-automation-portal-rhel9:1788943531 | 2026-09-09 | redhat |
| redhat | python3.12-django-0:5.2.17-1.el9ap | 2026-08-24 | redhat |
| redhat | ansible-automation-platform-26/lightspeed-rhel9:1787244079 | 2026-08-24 | redhat |
| redhat | ansible-automation-platform-27/lightspeed-rhel9:1787217531 | 2026-08-24 | redhat |
| redhat | ansible-automation-platform-25/lightspeed-rhel8:1787229385 | 2026-08-24 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(4 across 4 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| python-django | 2:2.2.24-1 ... 3:6.1~rc1-1 (185 versions) | — | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| python-django | 3:3.2.19-1 ... 3:6.1~rc1-1 (108 versions) | — | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| python-django | 3:4.2.23-1 ... 3:6.1~rc1-1 (63 versions) | — | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| python-django | 3:4.2.23-1 ... 3:5.2~rc1-1 (45 versions) | 3:5.2.17-1 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 36× in last 7d / 135× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 201 total refreshes for this CVE.
- 2026-09-19 07:58 UTCEG score recompute
- 2026-09-19 07:58 UTCVendor advisory
- 2026-09-19 07:58 UTCGHSA enrichment
- 2026-09-18 19:27 UTCEPSS rescore
- 2026-09-18 17:50 UTCVendor advisory
- 2026-09-18 17:50 UTCGHSA enrichment
- 2026-09-18 05:02 UTCEG score recompute
- 2026-09-18 05:02 UTCVendor advisory
- 2026-09-18 05:02 UTCGHSA enrichment
- 2026-09-17 16:14 UTCVendor advisory
- 2026-09-17 16:14 UTCGHSA enrichment
- 2026-09-17 01:11 UTCEG score recompute
- 2026-09-17 01:11 UTCVendor advisory
- 2026-09-17 01:11 UTCGHSA enrichment
- 2026-09-16 14:07 UTCEPSS rescore
- 2026-09-16 05:36 UTCEG score recompute
- 2026-09-16 05:36 UTCVendor advisory
- 2026-09-16 05:35 UTCGHSA enrichment
- 2026-09-16 05:14 UTCEPSS rescore
- 2026-09-15 16:48 UTCEG score recompute
- 2026-09-15 16:48 UTCVendor advisory
- 2026-09-15 16:48 UTCGHSA enrichment
- 2026-09-15 01:40 UTCVendor advisory
- 2026-09-15 01:40 UTCGHSA enrichment
- 2026-09-14 06:53 UTCVendor advisory
Show 75 moreShow fewer
- 2026-09-14 06:53 UTCGHSA enrichment
- 2026-09-13 18:06 UTCEG score recompute
- 2026-09-13 18:06 UTCVendor advisory
- 2026-09-13 18:06 UTCGHSA enrichment
- 2026-09-13 16:46 UTCEPSS rescore
- 2026-09-13 05:18 UTCVendor advisory
- 2026-09-13 05:18 UTCGHSA enrichment
- 2026-09-12 16:31 UTCEG score recompute
- 2026-09-12 16:31 UTCVendor advisory
- 2026-09-12 16:31 UTCGHSA enrichment
- 2026-09-12 15:00 UTCEPSS rescore
- 2026-09-12 03:40 UTCEG score recompute
- 2026-09-12 03:40 UTCVendor advisory
- 2026-09-12 03:40 UTCGHSA enrichment
- 2026-09-11 14:52 UTCEPSS rescore
- 2026-09-11 14:52 UTCEG score recompute
- 2026-09-11 14:52 UTCVendor advisory
- 2026-09-11 14:52 UTCGHSA enrichment
- 2026-09-11 09:36 UTCEPSS rescore
- 2026-09-10 21:04 UTCEG score recompute
- 2026-09-10 21:04 UTCVendor advisory
- 2026-09-10 21:04 UTCGHSA enrichment
- 2026-09-10 09:34 UTCEPSS rescore
- 2026-09-10 08:16 UTCVendor advisory
- 2026-09-10 08:16 UTCGHSA enrichment
- 2026-09-09 19:28 UTCVendor advisory
- 2026-09-09 19:28 UTCGHSA enrichment
- 2026-09-09 06:36 UTCEG score recompute
- 2026-09-09 06:36 UTCVendor advisory
- 2026-09-09 06:36 UTCGHSA enrichment
- 2026-09-08 22:00 UTCEPSS rescore
- 2026-09-07 18:35 UTCEG score recompute
- 2026-09-07 18:35 UTCVendor advisory
- 2026-09-07 18:35 UTCGHSA enrichment
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 20:15 UTCEG score recompute
- 2026-09-06 20:15 UTCVendor advisory
- 2026-09-06 20:15 UTCGHSA enrichment
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-06 07:20 UTCVendor advisory
- 2026-09-06 07:20 UTCGHSA enrichment
- 2026-09-05 18:33 UTCEG score recompute
- 2026-09-05 18:33 UTCVendor advisory
- 2026-09-05 18:33 UTCGHSA enrichment
- 2026-09-05 04:10 UTCEG score recompute
- 2026-09-05 04:10 UTCVendor advisory
- 2026-09-05 04:10 UTCGHSA enrichment
- 2026-09-04 10:09 UTCEG score recompute
- 2026-09-04 10:09 UTCVendor advisory
- 2026-09-04 10:09 UTCGHSA enrichment
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-09-03 20:41 UTCEG score recompute
- 2026-09-03 20:41 UTCVendor advisory
- 2026-09-03 20:41 UTCGHSA enrichment
- 2026-09-03 07:31 UTCEG score recompute
- 2026-09-03 07:31 UTCVendor advisory
- 2026-09-03 07:30 UTCGHSA enrichment
- 2026-09-02 14:11 UTCEPSS rescore
- 2026-09-01 20:50 UTCEG score recompute
- 2026-09-01 20:50 UTCVendor advisory
- 2026-09-01 20:50 UTCGHSA enrichment
- 2026-09-01 13:53 UTCEPSS rescore
- 2026-09-01 04:39 UTCEPSS rescore
- 2026-08-31 23:01 UTCVendor advisory
- 2026-08-31 23:01 UTCGHSA enrichment
- 2026-08-30 23:27 UTCEG score recompute
- 2026-08-30 23:27 UTCVendor advisory
- 2026-08-30 23:27 UTCGHSA enrichment
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 10:40 UTCEG score recompute
- 2026-08-30 10:40 UTCVendor advisory
- 2026-08-30 10:40 UTCGHSA enrichment
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-29 21:47 UTCEG score recompute
- 2026-08-29 21:47 UTCVendor advisory
Frequently asked(5)
What is CVE-2026-15307?
When was CVE-2026-15307 disclosed?
Is CVE-2026-15307 actively exploited?
What is the CVSS score of CVE-2026-15307?
How do I remediate CVE-2026-15307?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-15307
Is Your Infrastructure Affected by CVE-2026-15307?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.