Quick answers
- Is CVE-2026-48588 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-48588 being exploited in the wild.
- How severe is CVE-2026-48588?
- Low severity, with a CVSS score of 3.1, published 7 July 2026.
- Which products and versions are affected?
- Django (PyPI) ECOSYSTEM:introduced=0,fixed=5.2.16, ECOSYSTEM:introduced=5.2,fixed=5.2.16,introduced=6.0,fixed=6.0.7.
- Is there a fix for CVE-2026-48588?
- Yes. Django (PyPI): upgrade to 5.2.16, 6.0.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-48588 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-48588?
- Check whether you run Django (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- Django (PyPI): upgrade to 5.2.16, 6.0.7 or later
pip install "Django>=6.0.7"
Technical details
A vulnerability exists in Django's UpdateCacheMiddleware and the cache_page() decorator where responses that vary on cookies are incorrectly cached when an incoming request contains unrelated cookies. This flaw in the cache key generation logic allows a remote attacker to potentially retrieve private data from a shared cache that was intended for a different user. The issue affects Django versions 5.2.x before 5.2.16 and 6.0.x before 6.0.7; older unsupported versions like 5.0.x and 4.2.x may also be vulnerable. Users are advised to upgrade to the patched versions (5.2.16 or 6.0.7) to ensure proper cache isolation.
Affected products
- Django Software Foundation Django 5.2 before 5.2.16, 6.0 before 6.0.7
Identifiers
- CVE-2026-48588
- GHSA-3h9f-r86x-qvjx
- PYSEC-2026-2090
Timeline
- 2026-07-07: disclosed
- 2026-07-07: advisory
- 2026-07-07: patched
References
- https://docs.djangoproject.com/en/dev/releases/security
- https://groups.google.com/g/django-announce
- https://www.djangoproject.com/weblog/2026/jul/07/security-releases
- https://github.com/django/django/commit/64f9a2b2283fde3ec69fb0dfe441cf0f6f411ba3
- https://github.com/django/django/commit/6e365f8d01f2ba0bbd90968d76a42600fb8bc4b1