CVE Explorer
CVE-2026-48588
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cvss · 2 assertions
{"metric":{"baseScore":4.2,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:6348164088fcf8e122b9c6707709ab34d365d94eae7685ff7581733670d8370f · sha256:c049bcdc97333baa… · /containers/cna/metrics/1/cvssV3_1
{"metric":{"baseScore":2.3,"baseSeverity":"LOW","vectorString":"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","version":"4.0"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:6348164088fcf8e122b9c6707709ab34d365d94eae7685ff7581733670d8370f · sha256:c049bcdc97333baa… · /containers/cna/metrics/2/cvssV4_0
Affected products and versions
1 source assertion{"collectionURL":"https://pypi.org/project/Django/","defaultStatus":"unaffected","packageName":"django","product":"Django","repo":"https://github.com/django/django/","vendor":"djangoproject","versions":[{"lessThan":"6.0.7","status":"affected","version":"6.0","versionType":"python"},{"status":"unaffected","version":"6.0.7","versionType":"python"},{"lessThan":"5.2.16","status":"affected","version":"5.2","versionType":"python"},{"status":"unaffected","version":"5.2.16","versionType":"python"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:6348164088fcf8e122b9c6707709ab34d365d94eae7685ff7581733670d8370f · sha256:c049bcdc97333baa… · /containers/cna/affected/0
Provider-owned CVSS observations
2 source assertions{"metric":{"baseScore":4.2,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:6348164088fcf8e122b9c6707709ab34d365d94eae7685ff7581733670d8370f · sha256:c049bcdc97333baa… · /containers/cna/metrics/1/cvssV3_1
{"metric":{"baseScore":2.3,"baseSeverity":"LOW","vectorString":"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","version":"4.0"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:6348164088fcf8e122b9c6707709ab34d365d94eae7685ff7581733670d8370f · sha256:c049bcdc97333baa… · /containers/cna/metrics/2/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-524","description":"CWE-524: Use of Cache Containing Sensitive Information","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6348164088fcf8e122b9c6707709ab34d365d94eae7685ff7581733670d8370f · sha256:c049bcdc97333baa… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"Django security archive","tags":["vendor-advisory"],"url":"https://docs.djangoproject.com/en/dev/releases/security/"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6348164088fcf8e122b9c6707709ab34d365d94eae7685ff7581733670d8370f · sha256:c049bcdc97333baa… · /containers/cna/references/0
{"name":"Django releases announcements","tags":["mailing-list"],"url":"https://groups.google.com/g/django-announce"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6348164088fcf8e122b9c6707709ab34d365d94eae7685ff7581733670d8370f · sha256:c049bcdc97333baa… · /containers/cna/references/1
{"name":"Django security releases issued: 6.0.7 and 5.2.16","tags":["vendor-advisory"],"url":"https://www.djangoproject.com/weblog/2026/jul/07/security-releases/"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6348164088fcf8e122b9c6707709ab34d365d94eae7685ff7581733670d8370f · sha256:c049bcdc97333baa… · /containers/cna/references/2
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.