CVE Explorer
CVE-2026-8404
An issue was discovered in Django 5.2 before 5.2.15 and 6.0 before 6.0.6.
`django.middleware.cache.UpdateCacheMiddleware` in Django does not match `Cache-Control` response directives case-insensitively, which allows remote attackers to read responses that were incorrectly cached because their `Cache-Control` directives used uppercase or mixed-case values.
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 A
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":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:dfec42df45b00d007fa4967bdad1770a1e01e4e97bd549d1cc283409cbec8bfb · sha256:3bc8fd1afe972961… · /containers/cna/metrics/2/cvssV4_0
{"metric":{"baseScore":3.1,"baseSeverity":"LOW","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:dfec42df45b00d007fa4967bdad1770a1e01e4e97bd549d1cc283409cbec8bfb · sha256:3bc8fd1afe972961… · /containers/cna/metrics/1/cvssV3_1
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.6","status":"affected","version":"6.0","versionType":"python"},{"status":"unaffected","version":"6.0.6","versionType":"python"},{"lessThan":"5.2.15","status":"affected","version":"5.2","versionType":"python"},{"status":"unaffected","version":"5.2.15","versionType":"python"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:dfec42df45b00d007fa4967bdad1770a1e01e4e97bd549d1cc283409cbec8bfb · sha256:3bc8fd1afe972961… · /containers/cna/affected/0
Provider-owned CVSS observations
2 source assertions{"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:dfec42df45b00d007fa4967bdad1770a1e01e4e97bd549d1cc283409cbec8bfb · sha256:3bc8fd1afe972961… · /containers/cna/metrics/2/cvssV4_0
{"metric":{"baseScore":3.1,"baseSeverity":"LOW","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:dfec42df45b00d007fa4967bdad1770a1e01e4e97bd549d1cc283409cbec8bfb · sha256:3bc8fd1afe972961… · /containers/cna/metrics/1/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-178","description":"CWE-178: Improper Handling of Case Sensitivity","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:dfec42df45b00d007fa4967bdad1770a1e01e4e97bd549d1cc283409cbec8bfb · sha256:3bc8fd1afe972961… · /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:dfec42df45b00d007fa4967bdad1770a1e01e4e97bd549d1cc283409cbec8bfb · sha256:3bc8fd1afe972961… · /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:dfec42df45b00d007fa4967bdad1770a1e01e4e97bd549d1cc283409cbec8bfb · sha256:3bc8fd1afe972961… · /containers/cna/references/1
{"name":"Django security releases issued: 6.0.6 and 5.2.15","tags":["vendor-advisory"],"url":"https://www.djangoproject.com/weblog/2026/jun/03/security-releases/"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:dfec42df45b00d007fa4967bdad1770a1e01e4e97bd549d1cc283409cbec8bfb · sha256:3bc8fd1afe972961… · /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.