django/django · Weekly · Jul 06, 2026 - Jul 12, 2026

Django Weekly: Security releases, multipart fix, unmanaged model migrations, and more (July 6–12, 2026)

Commits summarized
24
Period
Jul 06 - Jul 12, 2026
Published
Jul 13, 2026

Django Weekly Development Update — July 6–12, 2026

This week saw three security releases (CVE-2026-48588, CVE-2026-53877, CVE-2026-53878), several bug fixes for the admin and ORM, improvements to documentation and migrations, plus CI and infrastructure maintenance. If you maintain a Django deployment or contribute to the framework, the security advisories and the multipart form-data fix are especially relevant.

Security Fixes

  • CVE-2026-48588 — Cache poisoning via session cookies

    UpdateCacheMiddleware now correctly prevents caching of responses that both set cookies and vary on Cookie, regardless of whether the incoming request carried unrelated cookies. Prior to this fix, a request with an arbitrary cookie could cause a newly-issued session cookie to be stored in Django's shared cache, leading to potential session leakage.

    Commit

  • CVE-2026-53877 — Heap buffer over-read in GDALRaster

    Creating a GDALRaster from bytes could cause a heap buffer over-read because sys.getsizeof() included the PyBytesObject wrapper overhead. Fixed by using len(bytes_object) to get the accurate byte count.

    Commit

  • CVE-2026-53878 — Newline injection in DomainNameValidator

    Newlines are no longer accepted in the domain name validator, closing an injection vector.

    Commit

  • Security archive entries for all three CVEs were added.

    Commit

Bug Fixes & Feature Work

Core / Utilities

  • import_string() now supports top-level modules

    Previously, only submodules worked — and only if they had already been imported. Now any module path works regardless of prior import state.

    Commit (Closes #36864)

  • encode_multipart() no longer drops fields sharing a name with a file

    When data was a MultiValueDict, only the last value per key was encoded, silently dropping form field values when a file upload shared the same name. Switched to data.lists().

    Commit (Closes #17631)

Admin

  • Fixed arrow button positioning in filter_vertical widget

    Commit (Closes #36621)

  • Corrected SelectBox height test to verify available/chosen box heights

    Commit (Closes #37180)

  • Fixed property typo in skip-link-to-content test

    Commit (Closes #37182)

  • Fixed assertion in SeleniumTests.test_pagination

    Commit (Closes #37181)

ORM / Migrations

  • Migrations now track all changes to unmanaged models

    Previously only create and delete operations were generated for unmanaged (managed = False) models. All field and option changes are now captured.

    Commit (Closes #35813)

  • JSONField.has_changed checks for disabled status

    Commit (Closes #37122)

  • Added tests for StringAgg edge cases (MongoDB compatibility)

    Commit

Documentation

  • Epub builds now render console directives as plain code

    The tabbed console markup relies on browser-only CSS (hidden radio inputs), which breaks strict XHTML epub readers. The epub builder now falls back to a plain literal block.

    Commit (Closes #37204)

  • Fixed flatpages synopsis (encoding artifact)

    Commit

  • Added FILE_UPLOAD_DIRECTORY_PERMISSIONS to settings index

    Commit

  • Linked upload handlers section in FILE_UPLOAD_* settings

    Commit (Closes #37172)

  • Reordered contribution checklist sections

    Commit (Closes #37158)

  • Added release note for Postgres 18+ virtual column support

    Commit

GDAL / GIS

  • Revealed warning in GDAL virtual filesystem reference

    Commit

CI & Infrastructure

  • Fixed concurrency bug in labels.yml GitHub Action

    Under pull_request_target, github.ref always points to main, so any edit on any PR could cause another PR's label workflow to quit.

    Commit

  • Bumped dependency versions in GitHub Actions configuration

    Commit

  • Skipped GC-specific tests when the GIL is disabled

    Commit

  • Added stub release notes for 6.0.8

    Commit

24 commits were merged during this period. This post highlights the changes covered by all available commit summaries.

Repository updates

Follow future updates

Get generated django/django development summaries without adding another panel to your dashboard.

Sign in to choose an email address and delivery schedule.

Sign in to subscribe