CVE-2026-48588
MEDIUM
4.2
CVSS 3.1
Description
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.
Metadata
Severity & Metrics
4.2
MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
SSVC — CISA Coordinator
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| djangoproject | Django | — | 6.0 < 6.0.7, 6.0.7, 5.2 < 5.2.16, 5.2.16 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-524 | cna | CWE-524: Use of Cache Containing Sensitive Information |
CVSS scores (2)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 4.2 | MEDIUM | 3.1 | cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N |
| 2.3 | LOW | 4.0 | cna | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
References (3)
- Django security archive https://docs.djangoproject.com/en/dev/releases/security/
- Django releases announcements https://groups.google.com/g/django-announce
- Django security releases issued: 6.0.7 and 5.2.16 https://www.djangoproject.com/weblog/2026/jul/07/security-releases/