CVE-2026-114582
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.
- Score
- 6.9 medium
- Published
- 2026-11-03
- Links
- NVD · cve.org · Report wrong data
Matched ports (3)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| www/py-django52 | py312-django52 | 5.2.18 | unaddressed | python@FreeBSD.org |
| www/py-django60 | py312-django60 | 6.0.9 | unaddressed | python@FreeBSD.org |
| www/py-django61 | py312-django61 | 6.1.2 | unaddressed | python@FreeBSD.org |
Template for a VuXML entry
Check the version numbers before you commit this entry. Some ports share an entry in the CVE database with another port, such as sqlite2 and sqlite3. The version shown here may then be one that never existed for this port.
Ranges per package from the CVE rows that match this port, in pkg notation with the port's epoch and revision, every bound checked with pkg; one range per epoch the port actually had. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>py312-django52 -- FIXME</topic>
<affects>
<package>
<name>py312-django52</name>
<range><ge>5.2</ge><lt>5.2.19</lt></range>
</package>
<package>
<name>py312-django60</name>
<range><ge>6.0</ge><lt>6.0.10</lt></range>
</package>
<package>
<name>py312-django61</name>
<range><ge>6.1</ge><lt>6.1.3</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>CVE-2026-114582: 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.</p>
</body>
</description>
<references>
<cvename>CVE-2026-114582</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2026-114582</url>
</references>
<dates>
<discovery>2026-11-03</discovery>
<entry>2026-11-04</entry>
</dates>
</vuln>