USN-8232-1
It was discovered that Django did not vary cached response headers on cookies when sessions were not modified while SESSION_SAVE_EVERY_REQUEST was enabled. A remote attacker could possibly use this issue to steal a user's session. (CVE-2026-35192) Kyle Agronick and Jacob Walls discovered that Django incorrectly handled ASGI requests with missing or understated Content-Length header values. A remote attacker could possibly use this issue to cause Django to use excessive resources, leading to a denial of service. (CVE-2026-5766) 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) Update Instructions: Run `sudo pro fix USN-8232-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: python-django-doc - 3:5.2.9-0ubuntu4.1 python3-django - 3:5.2.9-0ubuntu4.1 No subscription required
Evidence and freshness
Last supporting evidence check: 2026-11-27T12:28:29.363Z UTC
Upstream Advisory
Affected Packages
python-django-doc 3:5.2.9-0ubuntu4.1-3:5.2.9-0ubuntu4.1
python3-django 3:5.2.9-0ubuntu4.1-3:5.2.9-0ubuntu4.1
python-django-doc 3:5.2.4-1ubuntu2.5-3:5.2.4-1ubuntu2.5
python3-django 3:5.2.4-1ubuntu2.5-3:5.2.4-1ubuntu2.5
python-django-doc 3:4.2.11-1ubuntu1.16-3:4.2.11-1ubuntu1.16
python3-django 3:4.2.11-1ubuntu1.16-3:4.2.11-1ubuntu1.16
python-django-doc 2:3.2.12-2ubuntu1.27-2:3.2.12-2ubuntu1.27
python3-django 2:3.2.12-2ubuntu1.27-2:3.2.12-2ubuntu1.27