CVE-2026-87890 Details
Description
An issue was discovered in Django 6.1 before 6.1.2, 6.0 before 6.0.9, and 5.2 before 5.2.18. An incomplete fix for CVE-2026-15307 in Django spatial lookups allows an attacker who can supply `bytes` values to cause the Django process to make network requests via a crafted VRT document referencing an external raster source. 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 sicksec for reporting this issue.
A vulnerability in Django's spatial lookups in versions 6.1 prior to 6.1.2, 6.0 prior to 6.0.9, and 5.2 prior to 5.2.18 allows for request forgery via raster values provided as bytes. This issue arises because these byte values can be used to create a VRT document that references external raster sources, potentially leading to unauthorized network requests. Although the bytes are processed through an in-memory virtual filesystem, they can still trigger network fetches when the VRT document is resolved. This vulnerability was not present in earlier, unsupported Django series such as 5.1.x, 5.0.x, and 4.2.x.
Users can upgrade to Django versions 6.1.2, 6.0.9, or 5.2.18, all of which include the necessary fix. After upgrading, it's important to wrap any byte values intended for spatial lookups in the GDALRaster class to indicate that they are safe and to prevent unintentional network fetches.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 6, 2026CISA-ADP
Assessed Oct 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://docs.djangoproject.com/en/dev/releases/security/ | Django Software Foundation | AdvisoryBundleRemedyVendor |
| https://github.com/django/django/commit/4e77ef1e69c94780006b82795aa7db101996c3af | Django Software Foundation | Source CodeVendor |
| https://github.com/django/django/commit/a2347fe8234a1831d56c875acc0ea51e0742957c | Django Software Foundation | Source CodeVendor |
| https://github.com/django/django/commit/dd0558d1617619e0d66163675ef02135d0f54e5f | Django Software Foundation | Source CodeVendor |
| https://github.com/django/django/commit/ebcb13b327301f28cbc6cd5e4988a719f00575aa | Django Software Foundation | Source CodeVendor |
| https://groups.google.com/g/django-announce | Django Software Foundation | Mailing ListVendor |
| https://www.djangoproject.com/weblog/2026/oct/06/security-releases/ | Django Software Foundation | AdvisoryBundleRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | Django Software Foundation |
Affected Products
| Product | Versions |
|---|---|
| Django | < 6.1.2 (semver) < 6.0.9 (semver) < 5.2.18 (semver) ~5.1 ~5.0 ~4.2 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 6, 2026 | New CVE Received | Django Software Foundation |
| Oct 6, 2026 | CVE Modified | CISA-ADP |
Volerion