Server-side request forgery via SpatialReference string input

State
Published
Severity
6.9 Medium
Published
Nov 3, 2026
Updated
Nov 3, 2026
Reserved
Oct 21, 2026

Read the record on cve.org

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.

ProductVersions
Django djangoproject6.1 to before 6.1.3 Affected6.1.3 Not Affected6.0 to before 6.0.10 Affected6.0.10 Not Affected5.2 to before 5.2.19 Affected5.2.19 Not Affected

Weaknesses

  • CWE-918 Server-Side Request Forgery

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.