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.OGRGeometry` does not restrict external coordinate reference system definitions in GeoJSON input, which allows remote attackers to cause server-side requests to attacker-selected destinations via crafted crs members.
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 Submersion Security Research Team for reporting this issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| djangoproject | Django | 6.1 – < 6.1.3, 6.0 – < 6.0.10, 5.2 – < 5.2.19 | 6.1.3 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-django | 3:5.2.19-1 | — |
| Debian 13 | python-django | No fix yet | — |
| Debian 12 | python-django | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | python-django | No fix yet | — |
| Ubuntu 26.04 LTS | python-django | No fix yet | — |
| Ubuntu 24.04 LTS | python-django | No fix yet | — |
| Ubuntu 22.04 LTS | python-django | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | python-django | No fix yet | — |
| Ubuntu Pro 18.04 LTS | python-django | No fix yet | — |
| Ubuntu Pro 16.04 LTS | python-django | No fix yet | — |
| Ubuntu Pro 14.04 LTS | python-django | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-Django | 6.1.3-1.1 | openSUSE-SU-2026:12518-1 |
| openSUSE Tumbleweed | python-Django4 | 4.2.30-7.1 | openSUSE-SU-2026:12502-1 |
| openSUSE Tumbleweed | python-Django5 | 5.2.19-1.1 | openSUSE-SU-2026:12519-1 |
| openSUSE Leap 16.0 | python-Django | 5.2.4-bp160.13.1 | openSUSE-SU-2026:22278-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | py3-django | 5.2.19-r0 | — |
Advisories 5
- openSUSE-SU-2026:22278-1 Security update for python-Django SUSE / openSUSE Security Updates · Nov 14, 2026
- WID-SEC-2026-4333 Django: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 12, 2026
- openSUSE-SU-2026:12518-1 python313-Django-6.1.3-1.1 on GA media SUSE / openSUSE Security Updates · Nov 11, 2026
- openSUSE-SU-2026:12519-1 python313-Django5-5.2.19-1.1 on GA media SUSE / openSUSE Security Updates · Nov 11, 2026
- openSUSE-SU-2026:12502-1 python313-Django4-4.2.30-7.1 on GA media SUSE / openSUSE Security Updates · Nov 10, 2026
References
- Django security archive vendor-advisory
- Django releases announcements mailing-list
- https://github.com/django/django/commit/ecb2b77b49890d6b2120f73fb3d7eb7ac7650143 patch
- https://github.com/django/django/commit/649fb7985f67d5936dfb8caae6a54c0870dc8eec patch
- https://github.com/django/django/commit/e938f676fcca72f41247b0e96d4f0805e1722913 patch
- https://github.com/django/django/commit/31bef742da017bc71fdce9298c30984aad844102 patch
- Django security releases issued: 6.1.3, 6.0.10, and 5.2.19 vendor-advisory