ADVISORIES

Ubuntu Security Notice

USN-8848-1

python-django vulnerabilities

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)

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSpython-django
All versions before 1.6.11-0ubuntu1.3+esm12 (fixed in 1.6.11-0ubuntu1.3+esm12)
Ubuntu:Pro:16.04:LTSpython-django
All versions before 1.8.7-1ubuntu5.15+esm13 (fixed in 1.8.7-1ubuntu5.15+esm13)
Ubuntu:Pro:18.04:LTSpython-django
All versions before 1:1.11.11-1ubuntu1.21+esm17 (fixed in 1:1.11.11-1ubuntu1.21+esm17)
Ubuntu:Pro:20.04:LTSpython-django
All versions before 2:2.2.12-1ubuntu0.29+esm10 (fixed in 2:2.2.12-1ubuntu0.29+esm10)
Ubuntu:22.04:LTSpython-django
All versions before 2:3.2.12-2ubuntu1.29 (fixed in 2:3.2.12-2ubuntu1.29)
Ubuntu:24.04:LTSpython-django
All versions before 3:4.2.11-1ubuntu1.18 (fixed in 3:4.2.11-1ubuntu1.18)
Ubuntu:26.04:LTSpython-django
All versions before 3:5.2.9-0ubuntu4.3 (fixed in 3:5.2.9-0ubuntu4.3)

References