{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-8404","assignerOrgId":"6a34fbeb-21d4-45e7-8e0a-62b95bc12c92","state":"PUBLISHED","assignerShortName":"DSF","dateReserved":"2026-05-12T15:06:18.803Z","datePublished":"2026-06-03T13:16:29.593Z","dateUpdated":"2026-06-03T15:46:40.439Z"},"containers":{"cna":{"providerMetadata":{"orgId":"6a34fbeb-21d4-45e7-8e0a-62b95bc12c92","shortName":"DSF","dateUpdated":"2026-06-03T13:16:29.593Z"},"problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-178","description":"CWE-178: Improper Handling of Case Sensitivity","type":"CWE"}]}],"impacts":[{"capecId":"CAPEC-204","descriptions":[{"lang":"en","value":"CAPEC-204: Lifting Sensitive Data Embedded in Cache"}]}],"title":"Potential exposure of private data via case-sensitive Cache-Control directives in UpdateCacheMiddleware","metrics":[{"other":{"content":{"value":"low","namespace":"https://docs.djangoproject.com/en/dev/internals/security/#security-issue-severity-levels"},"type":"Django severity rating"}},{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","baseScore":3.1,"baseSeverity":"LOW"}},{"cvssV4_0":{"version":"4.0","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","baseScore":2.3,"baseSeverity":"LOW"}}],"descriptions":[{"lang":"en","value":"An issue was discovered in Django 5.2 before 5.2.15 and 6.0 before 6.0.6.\n`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.\nEarlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.\nDjango would like to thank Ahmed Badawe for reporting this issue.","supportingMedia":[{"type":"text/html","base64":false,"value":"<p>An issue was discovered in Django 5.2 before 5.2.15 and 6.0 before 6.0.6.</p><p><code>django.middleware.cache.UpdateCacheMiddleware</code> in Django does not match <code>Cache-Control</code> response directives case-insensitively, which allows remote attackers to read responses that were incorrectly cached because their <code>Cache-Control</code> directives used uppercase or mixed-case values.</p><p>Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.</p><p>Django would like to thank Ahmed Badawe for reporting this issue.</p>"}]}],"affected":[{"collectionURL":"https://pypi.org/project/Django/","defaultStatus":"unaffected","packageName":"django","product":"Django","repo":"https://github.com/django/django/","vendor":"djangoproject","versions":[{"status":"affected","version":"6.0","lessThan":"6.0.6","versionType":"python"},{"status":"unaffected","version":"6.0.6","versionType":"python"},{"status":"affected","version":"5.2","lessThan":"5.2.15","versionType":"python"},{"status":"unaffected","version":"5.2.15","versionType":"python"}]}],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","name":"Django security archive","tags":["vendor-advisory"]},{"url":"https://groups.google.com/g/django-announce","name":"Django releases announcements","tags":["mailing-list"]},{"url":"https://www.djangoproject.com/weblog/2026/jun/03/security-releases/","name":"Django security releases issued: 6.0.6 and 5.2.15","tags":["vendor-advisory"]}],"credits":[{"lang":"en","type":"reporter","value":"Ahmed Badawe"},{"lang":"en","type":"remediation developer","value":"Jake Howard"},{"lang":"en","type":"coordinator","value":"Natalia Bidart"}],"timeline":[{"lang":"en","time":"2026-05-06T00:00:00.000Z","value":"Initial report received."},{"lang":"en","time":"2026-05-12T00:00:00.000Z","value":"Vulnerability confirmed."},{"lang":"en","time":"2026-06-03T08:00:00.000Z","value":"Security release issued."}],"datePublic":"2026-06-03T08:00:00.000Z","source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-03T15:46:33.911128Z","id":"CVE-2026-8404","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-06-03T15:46:40.439Z"}}]}}