Security updatesDjango Software Foundation

Django releases three security versions: framework updates also need compatibility testing

Django released 6.1.2, 6.0.9 and 5.2.18 to address language-code handling, HTTP header parsing and other security issues, while strengthening earlier fixes. Some changes alter how specific inputs are handled, so website maintenance should include testing.

Original AI scenario illustration of people checking a website and paper checklist beside a small shop counter
Illustration · Source ↗ · About this image ↗

Source Facts

The Django team released 6.1.2, 6.0.9 and 5.2.18 on 6 October. The advisory lists four security issues and strengthens an existing fix, covering language-code caching, HTTP header parsing, spatial queries and model formsets.

The advisory notes that parsing results for some malformed HTTP headers may change. Certain byte inputs in spatial queries must also be explicitly wrapped in a specified object. These changes concern specific conditions; users are encouraged to update supported versions.

Next Steps for Businesses / Editorial Observations

Confirm framework and dependency versions with the website developer. After backing up, test logins, forms and language switching. Do not update only the site's appearance while ignoring underlying software.

Next steps you can take

  • Confirm Django and related Python package versions with your website maintenance provider, and plan updates for the maintenance branch in use.
  • Back up first, then test logins, forms, HTTP requests and language functions in a test environment, noting compatibility changes listed in the advisory.

Original sources

Django security releases issued: 6.1.2, 6.0.9, and 5.2.18

Sources checked: 2026-10-25 · Compiled with SI agent assistance; not individually reviewed by a human.

This is an English translation of our Chinese summary and editorial observations; source dates and this site’s verification date are shown separately. If an original advisory changes, refer to the source.

Back to news ←