Upstream information
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.
SUSE information
Overall state of this security issue: Resolved
This issue is currently rated as having critical severity.
| CVSS detail | CNA (6a34fbeb-21d4-45e7-8e0a-62b95bc12c92) | SUSE |
|---|---|---|
| Base Score | 8.8 | 9.9 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| Attack Vector | Network | Network |
| Attack Complexity | Low | Low |
| Privileges Required | Low | Low |
| User Interaction | None | None |
| Scope | Unchanged | Changed |
| Confidentiality Impact | High | High |
| Integrity Impact | High | High |
| Availability Impact | High | High |
| CVSSv3 Version | 3.1 | 3.1 |
| CVSS detail | CNA (6a34fbeb-21d4-45e7-8e0a-62b95bc12c92) | SUSE |
|---|---|---|
| Base Score | 8.7 | 9.3 |
| 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 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:N |
| Attack Vector | Network | Network |
| Attack Complexity | Low | Low |
| Attack Requirements | None | None |
| Privileges Required | Low | Low |
| User Interaction | None | None |
| Vulnerable System Confidentiality Impact | High | High |
| Vulnerable System Integrity Impact | High | High |
| Vulnerable System Availability Impact | High | High |
| Subsequent System Confidentiality Impact | None | High |
| Subsequent System Integrity Impact | None | High |
| Subsequent System Availability Impact | None | None |
| CVSSv4 Version | 4.0 | 4.0 |
SUSE Security Advisories:
- SUSE-SU-2026:3503-1, published 2026-08-05T12:49:57Z
List of released packages
| Product(s) | Fixed package version(s) | References |
|---|---|---|
| SUSE Linux Enterprise Module for Package Hub 15 SP7 |
| Patchnames: SUSE-SLE-Module-Packagehub-Subpackages-15-SP7-2026-3503 |
| SUSE Package Hub 15 SP7 |
| Patchnames: openSUSE-2026-290 |
| openSUSE Leap 16.0 |
| Patchnames: openSUSE-Leap-16.0-packagehub-470 |
| openSUSE Tumbleweed |
| Patchnames: openSUSE-Tumbleweed-2026-11464 openSUSE-Tumbleweed-2026-11465 openSUSE-Tumbleweed-2026-11491 |
Status of this issue by product and package
Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.
| Product(s) | Source package | State |
|---|---|---|
| Products under general support and receiving all security fixes. | ||
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | python-Django | Released |
| SUSE Package Hub 15 SP7 | python3-Django | Released |
| Products past their end of life and not receiving proactive updates anymore. | ||
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | python-Django | Affected |
| openSUSE Leap 15.6 | python-Django | Released |
SUSE Timeline for this CVE
CVE page created: Wed Aug 5 15:31:46 2026CVE page last modified: Thu Aug 20 21:02:54 2026