{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-8404","id":"CVE-2026-8404","title":"Potential exposure of private data via case-sensitive Cache-Control directives in UpdateCacheMiddleware","description":"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 a","descriptionLong":"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.","published":"2026-06-03T13:16:29.593Z","updated":"2026-10-28T02:31:13.717248330Z","reserved":"2026-05-12T15:06:18.803Z","status":"Analyzed","rejected":false,"assigner":"DSF","metric":{"version":"4.0","score":2.3,"vector":"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","rating":"low","source":"DSF"},"metrics":[{"version":"4.0","score":2.3,"vector":"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","rating":"low","source":"DSF"},{"version":"4.0","score":2.3,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"low","source":"6a34fbeb-21d4-45e7-8e0a-62b95bc12c92"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"low","source":"GitHub"},{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","rating":"low","source":"DSF"},{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","rating":"low","source":"6a34fbeb-21d4-45e7-8e0a-62b95bc12c92"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"OSV"}],"rating":"low","products":["djangoproject Django"],"affectedProducts":[{"vendor":"djangoproject","product":"Django","defaultStatus":"unaffected","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"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":["<5.2.15",">=6.0.0 <6.0.6",">=5.2 <5.2.15",">=6.0 <6.0.6"],"fixed":["5.2.15","6.0.6"],"advisory":"GHSA-8cjm-8mp7-r2xf"}],"cwes":["CWE-178"],"aliases":["BIT-django-2026-8404","GHSA-8cjm-8mp7-r2xf","PYSEC-2026-201"],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":["vendor-advisory","Patch","Vendor Advisory","advisory","fix"]},{"url":"https://groups.google.com/g/django-announce","tags":["mailing-list","Release Notes","article","web","advisory"]},{"url":"https://www.djangoproject.com/weblog/2026/jun/03/security-releases/","tags":["vendor-advisory","Patch","Vendor Advisory","advisory","fix"]},{"url":"https://github.com/django/django/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8404.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8404","tags":["advisory"]},{"url":"https://pypi.org/project/Django/","tags":["package"]},{"url":"https://github.com/django/django/commit/366d9ae6e8d1469c04e9ebdc1bcd098fc14a3b1e","tags":["web"]},{"url":"https://github.com/django/django/commit/b4330259ffbe1a031ed14daab1f35697460f10f2","tags":["web"]},{"url":"https://github.com/django/django/commit/d618d7ae4fec727d5b582bd24f803c28d17bf7cd","tags":["web"]},{"url":"https://docs.djangoproject.com/en/dev/releases/security","tags":["web"]},{"url":"https://github.com/django/django","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-201.yaml","tags":["web"]},{"url":"https://www.djangoproject.com/weblog/2026/jun/03/security-releases","tags":["web"]},{"url":"https://github.com/advisories/GHSA-8cjm-8mp7-r2xf","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00274,"epssPercentile":0.20046,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-8404","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8404","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-8404","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-8cjm-8mp7-r2xf","ok":true,"note":"GHSA-8cjm-8mp7-r2xf"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-8404","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["django"],"critical":[],"attention":null}