Home / mailings [USN-8848-1] Django vulnerabilities
Posted on 01 October 2026
Ubuntu Security==========================================================================Ubuntu Security Notice USN-8848-1
September 30, 2026
python-django vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 26.04 LTS
- Ubuntu 24.04 LTS
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS
- Ubuntu 14.04 LTS
Summary:
Several security issues were fixed in Django.
Software Description:
- python-django: High-level Python web development framework
Details:
Bence Nagy discovered that GeoDjango in Django incorrectly handled spatial
lookups when processing untrusted input. A remote attacker could possibly
use this issue to make outbound network requests, write arbitrary files, or
execute arbitrary code. This issue was only addressed in Ubuntu 22.04 LTS,
Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-15307)
Ahmad Sadeddin discovered that Django UpdateCacheMiddleware incorrectly
cached requests where the Vary header contained an asterisk. A remote
attacker could possibly use this issue to obtain sensitive information.
(CVE-2026-6907)
Ahmed Badawe discovered that Django did not properly parse Cache-Control
response directives case-insensitively under certain circumstances. A
remote attacker could possibly use this issue to view sensitive information
from responses that were incorrectly cached. This issue only affected
Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS.
(CVE-2026-8404)
Update instructions:
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 26.04 LTS
python-django-doc 3:5.2.9-0ubuntu4.3
python3-django 3:5.2.9-0ubuntu4.3
Ubuntu 24.04 LTS
python-django-doc 3:4.2.11-1ubuntu1.18
python3-django 3:4.2.11-1ubuntu1.18
Ubuntu 22.04 LTS
python-django-doc 2:3.2.12-2ubuntu1.29
python3-django 2:3.2.12-2ubuntu1.29
Ubuntu 20.04 LTS
python3-django 2:2.2.12-1ubuntu0.29+esm10
Available with Ubuntu Pro
Ubuntu 18.04 LTS
python-django 1:1.11.11-1ubuntu1.21+esm17
Available with Ubuntu Pro
python-django-common 1:1.11.11-1ubuntu1.21+esm17
Available with Ubuntu Pro
python3-django 1:1.11.11-1ubuntu1.21+esm17
Available with Ubuntu Pro
Ubuntu 16.04 LTS
python-django 1.8.7-1ubuntu5.15+esm13
Available with Ubuntu Pro
python-django-common 1.8.7-1ubuntu5.15+esm13
Available with Ubuntu Pro
python3-django 1.8.7-1ubuntu5.15+esm13
Available with Ubuntu Pro
Ubuntu 14.04 LTS
python-django 1.6.11-0ubuntu1.3+esm12
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.
References:
https://ubuntu.com/security/notices/USN-8848-1
CVE-2026-15307, CVE-2026-6907, CVE-2026-8404
Package Information:
https://launchpad.net/ubuntu/+source/python-django/3:5.2.9-0ubuntu4.3
https://launchpad.net/ubuntu/+source/python-django/3:4.2.11-1ubuntu1.18
https://launchpad.net/ubuntu/+source/python-django/2:3.2.12-2ubuntu1.29
--===============8664591343694499492==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
