Django: cache middleware may expose private responses when unrelated request cookies are present
An issue was discovered in Django 6.0 before 6.0.7 and 5.2 before 5.2.16.
UpdateCacheMiddleware and the cache_page() decorator cache responses that vary on cookies when the incoming request carries unrelated cookies, which allows remote attackers to read private data from the shared cache.
Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.
Django would like to thank Chris Whyland for reporting this issue.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | django | < 5.2.16, >= 6.0.0, < 6.0.7 | 5.2.16, 6.0.7 |
Verweise
- https://groups.google.com/g/django-announce
- https://docs.djangoproject.com/en/dev/releases/security/
- https://www.djangoproject.com/weblog/2026/jul/07/security-releases/
- https://github.com/advisories/GHSA-3h9f-r86x-qvjx
- https://nvd.nist.gov/vuln/detail/CVE-2026-48588
- https://github.com/django/django/commit/64f9a2b2283fde3ec69fb0dfe441cf0f6f411ba3
- https://github.com/django/django/commit/6e365f8d01f2ba0bbd90968d76a42600fb8bc4b1
- https://github.com/django/django/commit/721685aa7799cc9327bd202cd1f70bd012ca95a7
- https://docs.djangoproject.com/en/dev/releases/security
- https://github.com/django/django
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-2090.yaml
- https://www.djangoproject.com/weblog/2026/jul/07/security-releases
- CVSS-Vektor
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N- Schwäche (CWE)
CWE-524- Plattform
- Python (PyPI)
- Paket
django- Veröffentlicht
- 07.07.2026
- Aktualisiert
- 11.10.2026 15:17
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2026-2090 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-3h9f-r86x-qvjx - CC BY 4.0
Schwachstellenhistorie: django
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 162
- Erste → letzte
- 10.2007 08.2026
- Ohne Fix
- 1
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 16
- Hoch 65
- Mittel 63
- Niedrig 18
Veröffentlichungen pro Jahr
- 2017: 3
- 2018: 5
- 2019: 11
- 2020: 6
- 2021: 8
- 2022: 14
- 2023: 7
- 2024: 14
- 2025: 12
- 2026: 26
früher: 56
-
Django: cache middleware may expose private responses when unrelated request cookies are present dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.