Subscribe

DevelopmentNews

Django security releases issued: 6.1.2, 6.0.9, and 5.2.18

Posted by Sarah Boyce on Oct. 6, 2026

Published By From Django News · 1 min read

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.

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.

This is an excerpt. The full article is published by Django News.

Continue reading at Django News