Migrating production infrastructure? Get up to ₹10,000 in migration credits. Apply now
voroaBlog
Web Services

Django Security Release, November 2026: 6.1.3, 6.0.10, 5.2.19

· · 3 min read

Django security release November 2026 - upgrade to 6.1.3, 6.0.10 or 5.2.19

The November 2026 Django security release shipped on 3 November with three patched versions: 6.1.3, 6.0.10 and 5.2.19. If your app runs any older patch of those lines, upgrade this week.

The headline fixes are two server-side request forgery (SSRF) issues in GeoDjango. If you do not use django.contrib.gis, those two do not touch you, but the same releases carry other low-severity fixes, so the upgrade is still worth doing.

Advertisement

The two GeoDjango SSRF issues

According to the Django project announcement, both issues let crafted input make your server fetch a URL it should not:

  • GeoJSON with a CRS reference. A GeoJSON geometry can name its coordinate reference system by pointing at an external resource. Parsing such input could make the server request that resource.
  • SpatialReference from a string. A string passed to SpatialReference and handed to GDAL could trigger the same kind of outbound request.

DataSource and LayerMapping are unchanged, because Django treats them as tools for trusted data. Never feed them a file a user uploaded.

An SSRF bug matters because your server sits inside your network. A request it makes can reach internal addresses and cloud metadata endpoints that the outside world cannot.

Only the GeoJSON CRS issue is rated moderate; the other five, the SpatialReference SSRF included, are low. 6.1.3 and 6.0.10 carry all six fixes; 5.2.19 carries five, because the admin password-hash fix does not apply to 5.2.

Diagram: Django November 2026 security release - 6.1.3, 6.0.10 and 5.2.19 patched, two GeoDjango SSRF fixes

Who is exposed in practice

The risk is highest for apps that accept location data from users or partners and parse it with GeoDjango:

  • delivery and logistics apps that take a drop-off polygon or a service-area shape;
  • property and land portals that import plot boundaries;
  • field-force apps that upload GeoJSON from a phone.

These are common in India - pin-code coverage maps, delivery radius checks, warehouse zones - and the GeoJSON often comes from a third-party map tool rather than your own code. If any endpoint parses GeoJSON you did not generate, treat this as urgent.

Upgrading without surprises

This is mostly a version bump, with three changes to check: GeoDjango now rejects GeoJSON whose CRS points at an external resource, SpatialReference no longer accepts file paths, URLs or DICT: references, and pages cached under Vary will be cached again once. The SpatialReference fix needs GDAL 3.9 or later; after upgrading, run python manage.py check and look for warning gis.W001.

bash
python -m django --version
pip install -U "Django>=6.1.3,<6.2"   # or ">=6.0.10,<6.1", or ">=5.2.19,<6.0" on the LTS line

Then pin the new version in requirements.txt (or your lock file), run your test suite, and deploy. If you pin with ==, change the pin - an ==6.1.2 line will hold you on the vulnerable patch forever.

Which Django line to be on

  • 5.2 LTS - security fixes until April 2028. The safe choice if you upgrade rarely.
  • 6.0 - security fixes until April 2027. Plan the move to 6.1 or the next LTS soon.
  • 6.1 - the current feature line, with security fixes until December 2027.

If you are still on 4.2, its support ended on 7 April 2026 and this release gives you no fix at all. Moving from 4.2 to 5.2 is the jump to schedule first.

Deploying the patched version

On Voroa a Django app is a web service built from your repository. Push the updated requirements.txt and the next deploy installs the patched Django; if anything breaks, roll back to the previous deploy in one click. The Django deploy guide covers the start command and static files, and build and start commands explains where pip runs.

For the wider picture, see hosting Django in India and our note on the Python 3.10 end of life, since an old Django often sits on an old Python.

Advertisement