Django 6.x GDAL SpatialReference File/Network Access Bypass (<6.1.3)
CVE-2026-114582 Published on November 3, 2026
Server-side request forgery via SpatialReference string input
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 GDALs 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.
Timeline
Initial report received.
Vulnerability confirmed. 77 days later.
Security release issued. 13 days later.
Weakness Type
What is a SSRF Vulnerability?
The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination. By providing URLs to unexpected hosts or ports, attackers can make it appear that the server is sending the request, possibly bypassing access controls such as firewalls that prevent the attackers from accessing the URLs directly. The server can be used as a proxy to conduct port scanning of hosts in internal networks, use other URLs such as that can access documents on the system (using file://), or use other protocols such as gopher:// or tftp://, which may provide greater control over the contents of requests.
CVE-2026-114582 has been classified to as a SSRF vulnerability or weakness.
Products Associated with CVE-2026-114582
Want to know whenever a new CVE is published for Django Project Django? stack.watch will email you.
Affected Versions
djangoproject Django:- Version 6.1 and below 6.1.3 is affected.
- Version 6.1.3 is unaffected.
- Version 6.0 and below 6.0.10 is affected.
- Version 6.0.10 is unaffected.
- Version 5.2 and below 5.2.19 is affected.
- Version 5.2.19 is unaffected.