Server-side request forgery via SpatialReference string input
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| djangoprojectDjango |
≥ 6.1, < 6.1.3→ 6.1.3 ≥ 6.0, < 6.0.10→ 6.0.10 ≥ 5.2, < 5.2.19→ 5.2.19 |
6.1.3 6.0.10 5.2.19 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Alpine Linux ALPINE-CVE-2026-114582 py3-django Fix available
- Debian DEBIAN-CVE-2026-114582 python-django Fix available
- Ubuntu UBUNTU-CVE-2026-114582 python-django No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory docs.djangoproject.com
- advisory djangoproject.com
- advisory nvd.nist.gov
- advisory github.com
- package pypi.org
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- web groups.google.com
- web docs.djangoproject.com
- web djangoproject.com
- web github.com
- web github.com