{"id":"BIT-django-2026-8404","summary":"Potential exposure of private data via case-sensitive Cache-Control directives in UpdateCacheMiddleware","details":"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.","aliases":["CVE-2026-8404","GHSA-8cjm-8mp7-r2xf","PYSEC-2026-201"],"modified":"2026-09-10T16:00:59.296396864Z","published":"2026-06-06T08:39:25.918Z","database_specific":{"severity":"Medium","cpes":["cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*"]},"references":[{"type":"ADVISORY","url":"https://docs.djangoproject.com/en/dev/releases/security/"},{"type":"ARTICLE","url":"https://groups.google.com/g/django-announce"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8404"},{"type":"ADVISORY","url":"https://www.djangoproject.com/weblog/2026/jun/03/security-releases/"}],"affected":[{"package":{"name":"django","ecosystem":"Bitnami","purl":"pkg:bitnami/django"},"ranges":[{"type":"SEMVER","events":[{"introduced":"5.2.0"},{"fixed":"5.2.15"},{"introduced":"6.0.0"},{"fixed":"6.0.6"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/django/BIT-django-2026-8404.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}],"schema_version":"1.9.0"}