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
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.8
- EG Score
- 8.8(high)
- 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
- 43%
- 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(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
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 (105 versions) | — | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| python-django | 3:4.2.23-1 ... 3:6.1~rc1-1 (61 versions) | — | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| python-django | 3:4.2.23-1 ... 3:6.1~rc1-1 (58 versions) | — | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 26× in last 7d / 68× 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.
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 20:31 UTCGHSA enrichment
- 2026-08-20 07:43 UTCGHSA enrichment
- 2026-08-19 18:56 UTCEG score recompute
- 2026-08-19 18:56 UTCGHSA enrichment
- 2026-08-19 17:03 UTCEPSS rescore
- 2026-08-19 05:35 UTCGHSA enrichment
- 2026-08-18 16:47 UTCEG score recompute
- 2026-08-18 16:47 UTCGHSA enrichment
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-18 05:30 UTCGHSA enrichment
- 2026-08-17 16:32 UTCEG score recompute
- 2026-08-17 16:32 UTCGHSA enrichment
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 03:28 UTCEG score recompute
- 2026-08-17 03:28 UTCGHSA enrichment
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 14:40 UTCEG score recompute
- 2026-08-16 14:40 UTCGHSA enrichment
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-16 01:53 UTCGHSA enrichment
- 2026-08-15 13:05 UTCEG score recompute
- 2026-08-15 13:05 UTCGHSA enrichment
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-15 00:17 UTCGHSA enrichment
Show 43 moreShow fewer
- 2026-08-14 11:29 UTCGHSA enrichment
- 2026-08-13 22:42 UTCEG score recompute
- 2026-08-13 22:42 UTCGHSA enrichment
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 09:55 UTCGHSA enrichment
- 2026-08-12 21:08 UTCGHSA enrichment
- 2026-08-12 16:27 UTCEG score recompute
- 2026-08-12 16:27 UTCGHSA enrichment
- 2026-08-12 13:50 UTCEPSS rescore
- 2026-08-12 03:40 UTCGHSA enrichment
- 2026-08-11 14:52 UTCEG score recompute
- 2026-08-11 14:52 UTCGHSA enrichment
- 2026-08-11 13:42 UTCEPSS rescore
- 2026-08-11 02:05 UTCEG score recompute
- 2026-08-11 02:05 UTCGHSA enrichment
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-10 13:18 UTCGHSA enrichment
- 2026-08-10 00:30 UTCEG score recompute
- 2026-08-10 00:30 UTCGHSA enrichment
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-09 11:43 UTCGHSA enrichment
- 2026-08-08 22:55 UTCEG score recompute
- 2026-08-08 22:55 UTCGHSA enrichment
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-08 10:07 UTCGHSA enrichment
- 2026-08-07 21:20 UTCEG score recompute
- 2026-08-07 21:20 UTCGHSA enrichment
- 2026-08-07 08:32 UTCGHSA enrichment
- 2026-08-06 19:45 UTCEG score recompute
- 2026-08-06 19:45 UTCGHSA enrichment
- 2026-08-06 13:46 UTCEPSS rescore
- 2026-08-06 06:57 UTCEG score recompute
- 2026-08-06 06:57 UTCGHSA enrichment
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-05 18:10 UTCGHSA enrichment
- 2026-08-05 05:23 UTCEG score recompute
- 2026-08-05 05:23 UTCGHSA enrichment
- 2026-08-05 04:36 UTCEG score recompute
- 2026-08-05 04:35 UTCGHSA enrichment
- 2026-08-04 18:25 UTCEG score recompute
- 2026-08-04 17:23 UTCEG score recompute
- 2026-08-04 16:28 UTCEG score recompute
- 2026-08-04 16:26 UTCMITRE cvelistV5first tracked
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.