Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-15307— Server-side file-write and request forgery via spatial lookups

Quick assessment

Affected
djangoproject Django
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

django是Django基金会开源的一个Web服务器框架。 Django 5.2.17版本之前的5.2.x版本和6.0.8版本之前的6.0.x版本存在安全漏洞,该漏洞源于GeoDjango空间查找将不受信任的右侧值传递给GDALRaster构造函数,可能导致写入任意文件或发起外部网络请求,进而可能导致远程代码执行。

CVSS 8.8 · High EPSS 1.09% · P64

Affected Version Matrix 4

VendorProduct Version RangeStatus
djangoproject Django 6.0< 6.0.8 affected
6.0.8 unaffected
5.2< 5.2.17 affected
5.2.17 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-15307

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Server-side file-write and request forgery via spatial lookups
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
文件名或路径的外部可控制
Source: CVE Program / CVE List V5
Vulnerability Title
Django 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
django是Django基金会开源的一个Web服务器框架。 Django 5.2.17版本之前的5.2.x版本和6.0.8版本之前的6.0.x版本存在安全漏洞,该漏洞源于GeoDjango空间查找将不受信任的右侧值传递给GDALRaster构造函数,可能导致写入任意文件或发起外部网络请求,进而可能导致远程代码执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
djangoproject Django 6.0 ~ 6.0.8 -

II. Public POCs for CVE-2026-15307

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 9635 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-15307

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-15307 (4)

Vendor Advisories for CVE-2026-15307 (1)

Mailing List Discussions for CVE-2026-15307 (1)

Security Blog Posts for CVE-2026-15307 (1)

Same Patch Batch · djangoproject · 2026-08-04 · 4 CVEs total

CVE-2026-15920 6.1 MEDIUM Potential cross-site scripting via URLField values in the admin
CVE-2026-15337 5.3 MEDIUM Potential denial-of-service vulnerability in check_for_language()
CVE-2026-15830 5.3 MEDIUM Potential denial-of-service vulnerability via nested geometry collections

IV. Related Vulnerabilities

V. Comments for CVE-2026-15307

No comments yet


Leave a comment