CVE-2026-114582

Server-side request forgery via SpatialReference string input

Published Nov 3, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
An issue was discovered in Django 6.1 before 6.1.3, 6.0 before 6.0.10, and 5.2 before 5.2.19.
`django.contrib.gis.gdal.SpatialReference` (and related `transform()` methods and `srs`/`srid` setters) do not restrict GDAL’s file and network access when parsing string input, which allows attackers to trigger server-side requests or local file reads via crafted spatial reference strings.
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 Adraca for reporting this issue.

Analysis

AI-generated

Technical impact

An application that parses spatial reference strings in Django 5.2, 6.0, or 6.1 can unknowingly allow the GDAL library to perform any file system or network operation. By supplying a crafted spatial reference string, an attacker can trigger the server to request external resources or read local files. This vulnerability enables a server‑side request forgery or local file read, potentially exposing data, hijacking traffic, or facilitating further attacks.

Affected Systems

The issue affects Django 5.2 before version 5.2.19, Django 6.0 before version 6.0.10, and Django 6.1 before version 6.1.3. Versions earlier in the series such as 5.1.x, 5.0.x, and 4.2.x were not evaluated but may also be vulnerable. The problem resides in the django.contrib.gis.gdal.SpatialReference component and its related transform methods and srs/srid setters.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate to high severity, and while EPSS data is not available, the vulnerability is not listed in the CISA KEV catalog, so it is not known to have been widely exploited yet. Attackers can exploit it by submitting a malicious spatial reference string through any interface that accepts GIS data, which may be typical in mapping services or applications that import external geospatial files. If the application processes untrusted data without validation, the attack can succeed without additional conditions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Django to the latest patch release (6.1.3, 6.0.10, or 5.2.19) or to a newer supported series.
  • Validate spatial reference strings against a whitelist of known SRIDs or reject arbitrary input before it is passed to GDAL.
  • Apply network or file‑system restrictions so that the GDAL library running under Django cannot perform outbound requests or read arbitrary local files.

Generated by OpenCVE AI on November 3, 2026 at 16:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Django Project
Django Project django
Djangoproject
Djangoproject django
Vendors & Products Django Project
Django Project django
Djangoproject
Djangoproject django
Type Values Removed Values Added
Description An issue was discovered in Django 6.1 before 6.1.3, 6.0 before 6.0.10, and 5.2 before 5.2.19. `django.contrib.gis.gdal.SpatialReference` (and related `transform()` methods and `srs`/`srid` setters) do not restrict GDAL’s file and network access when parsing string input, which allows attackers to trigger server-side requests or local file reads via crafted spatial reference strings. 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 Adraca for reporting this issue.
Title Server-side request forgery via SpatialReference string input
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
DSF
Published
Updated
Nov 3, 2026, 6:26 PM
Reserved
Oct 21, 2026, 6:36 PM
Status
Deferred
Published
Nov 3, 2026, 4:17 PM
Modified
Nov 3, 2026, 7:17 PM
Severity
Low
Public date
Nov 3, 2026, 3:30 PM