← Back to blog

Article not found

Django patches six security issues in releases 6.1.3, 6.0.10 and 5.2.19

The Django team has released security updates for versions 6.1, 6.0 and 5.2. Fixes include abnormal memory use, unwanted server-side requests, cache data exposure and issues in the admin area.

Django patches six security issues in releases 6.1.3, 6.0.10 and 5.2.19

The Django team has released versions 6.1.3, 6.0.10 and 5.2.19 to fix six security issues affecting the supported lines of the framework. The advisory urges a prompt update of all affected installations. The most immediate flaw to understand concerns the multipart parser used for uploads: when files were submitted with base64 encoding, the content could be accumulated entirely in memory before reaching the upload handlers, effectively ignoring the configured limit for uploaded files. Under certain conditions, this behavior can lead to excessive memory consumption by the application process.

However, the update is not limited to this point. Django has also fixed a possible log injection issue linked to invalid geometric values, a server-side request forgery vulnerability in GeoJSON geometries with external CRS references, a case in which the cache could treat missing headers and empty headers in the same way with possible effects on data confidentiality, the exposure of the password hash to administrators with view-only permissions in specific user model configurations, and an additional server-side request forgery vector related to the use of SpatialReference and other GIS components based on GDAL.

For those running Django applications in production, the important message is twofold. First: this is not just a fix for uploads, but a release that touches different areas of the framework, including cache, administration and GIS functionality. Second: some mitigations also depend on the technical context. The advisory explains, for example, that full protection for SpatialReference parsing requires GDAL 3.9 or later and that Django introduces a dedicated system check to flag installations with earlier versions. This means that in projects using geographic components or accepting untrusted input, updating Django is necessary but may not be enough without checking dependencies and configuration.

From an operational point of view, these releases deserve priority even if many of the vulnerabilities are classified by the project as low severity. In real environments, issues that appear minor can combine with configuration choices, third-party components or poorly monitored application flows. It is therefore worth checking which branches are still in use, planning the update to the correct patch release and retesting the parts that handle uploads, cache and GIS modules. For those developing or buying custom software based on Django, this is one of those situations where ongoing maintenance matters more than any new feature.

Source: Django weblog, November 3, 2026