# Django security releases issued: 6.1.2, 6.0.9, and 5.2.18

DevFeed: [Django security releases issued: 6.1.2, 6.0.9, and 5.2.18](<https://devfeed.tech/articles/django-security-releases-issued-6-1-2-6-0-9-and-5-2-18-65408.md>)

Original publisher: [Read original article](<https://www.djangoproject.com/weblog/2026/oct/06/security-releases/>)

Author: Sarah Boyce

Published: 2026-10-06T13:00:00Z

Content type: release

Language: en

Sources: [The Django weblog](<https://devfeed.tech/sources/the-django-weblog.md>)

Topics: [Django](<https://devfeed.tech/topics/django.md>), [Security](<https://devfeed.tech/topics/security.md>), [CVE-2021-44228](<https://devfeed.tech/topics/cve-2021-44228.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [django](<https://devfeed.tech/tags/django.md>), [framework](<https://devfeed.tech/tags/framework.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [python](<https://devfeed.tech/tags/python.md>), [releases](<https://devfeed.tech/tags/releases.md>), [security](<https://devfeed.tech/tags/security.md>)

## AI overview

Django issued versions 6.1.2, 6.0.9, and 5.2.18 to address four security issues, including denial-of-service vulnerabilities, a potential request forgery through spatial lookup bytes, and privilege abuse in model formsets. The releases also change language-code handling and HTTP header parsing; Django users are encouraged to upgrade.

## Source excerpt

In accordance with our security release policy, the Django team is issuing releases for Django 6.1.2, Django 6.0.9, and Django 5.2.18. These releases address the security issues detailed below. We encourage all users of Django to upgrade as soon as possible. CVE-2026-77050: Potential denial-of-service vulnerability in get_supported_language_variant() django.utils.translation.get_supported_language_variant() was subject to a potential denial-of-service attack when processing many distinct, very long language codes. Language codes were used as keys in an in-memory cache before their length was limited, potentially consuming excessive process memory. To mitigate this vulnerability, language codes longer than 500 characters are now rejected or truncated before the cached lookup. This issue has severity "low" according to the Django security policy. Thanks to Gleb Lizunov for the report. CVE-2026-84429: Potential denial-of-service vulnerability in HTTP header parsing django.utils.http.parse_header_parameters() was subject to a potential denial-of-service attack due to quadratic time complexity when parsing a value with many separators inside a quoted parameter. An unauthenticated request could reach this parsing through headers such as Accept or Content-Type, for instance via the content negotiation performed by HttpRequest.accepts(). The per-call length limit does not bound the combined size of repeated headers. The undocumented django.utils.http.parse_header_parameters() function now uses Python's email.message.Message for parsing. As a result, parsing of some malformed or unusual header values may differ, for example, RFC 2231 values with a missing encoding are now decoded. This issue has severity "moderate" according to the Django security policy. Thanks to Jisung Chae for the report. CVE-2026-87890: Potential request forgery via spatial lookup byte values Spatial lookups accepted raster values provided as bytes without requiring them to be explicitly wrapped in djan