{"schemaVersion":3,"id":"CVE-2026-8404","aliases":["GHSA-8cjm-8mp7-r2xf","BIT-django-2026-8404","PYSEC-2026-201","UBUNTU-CVE-2026-8404","DEBIAN-CVE-2026-8404","CGA-2mxf-p58r-974v","CGA-2q32-9hpw-f7fg","CGA-3hgq-rr9r-644q","CGA-4whp-3hw8-j6jg","CGA-5x2w-8hrr-99p2","CGA-6v26-3vvh-68g2","CGA-8r2g-wrfh-h2x2","CGA-9232-6jx4-59hq","CGA-95fp-286w-9w46","CGA-fc38-prxm-49px","CGA-h26g-vqh8-29p6","CGA-hj6h-r8x2-4r4h","CGA-jv6g-w2rf-wfjp","CGA-jvmm-q4hj-8q2h","CGA-mmxv-2pxj-9p5q","CGA-qqg6-hg66-v52h","CGA-rxw4-qcr5-xvrx","CGA-xm55-89wf-9px5"],"status":"published","duplicateOf":null,"title":null,"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 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.","dates":{"published":"2026-06-03T13:16:29.593Z","modified":"2026-06-03T15:46:40.439Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":2.3,"severity":"low","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.1,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":2.3,"severity":"low","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":2.3,"severity":"low","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":2.3,"severity":"low","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00429,"percentile":0.35783,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.14400000000000002,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00285},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00429,"percentile":0.35783}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00429,"percentile":0.35783}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-178","name":"Improper Handling of Case Sensitivity","description":"The product does not properly account for differences in case sensitivity when accessing or determining the properties of a resource, leading to inconsistent results.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/178.html"}],"affected":[{"vendor":"chainguard","product":"authentik-2025.12","name":"authentik-2025.12","label":"authentik-2025.12","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/authentik-2025.12","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"authentik-fips-2025.12","name":"authentik-fips-2025.12","label":"authentik-fips-2025.12","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/authentik-fips-2025.12","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"awx","name":"awx","label":"awx","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/awx","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"openstack-horizon-2025.1","name":"openstack-horizon-2025.1","label":"openstack-horizon-2025.1","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/openstack-horizon-2025.1","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"openstack-horizon-2025.1-fips","name":"openstack-horizon-2025.1-fips","label":"openstack-horizon-2025.1-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/openstack-horizon-2025.1-fips","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"openstack-horizon-2025.2","name":"openstack-horizon-2025.2","label":"openstack-horizon-2025.2","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/openstack-horizon-2025.2","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"openstack-horizon-2025.2-fips","name":"openstack-horizon-2025.2-fips","label":"openstack-horizon-2025.2-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/openstack-horizon-2025.2-fips","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"openstack-horizon-2026.1","name":"openstack-horizon-2026.1","label":"openstack-horizon-2026.1","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/openstack-horizon-2026.1","purlType":"apk","versions":[{"text":"< 25.7.3_git20260806-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 25.7.3_git20260806-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"openstack-horizon-2026.1-fips","name":"openstack-horizon-2026.1-fips","label":"openstack-horizon-2026.1-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/openstack-horizon-2026.1-fips","purlType":"apk","versions":[{"text":"< 25.7.3_git20260806-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 25.7.3_git20260806-r1","eol":null,"hubHref":null},{"vendor":"debian","product":"python-django","name":"python-django","label":"python-django","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-django","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 3:5.2.15-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 3:5.2.15-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"python-django","name":"python-django","label":"python-django","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python-django","purlType":"deb","versions":[{"text":"< 2:2.2.12-1ubuntu0.29+esm10","noFixRecorded":false,"fixedIn":null},{"text":"< 2:3.2.12-2ubuntu1.29","noFixRecorded":false,"fixedIn":null},{"text":"< 3:4.2.11-1ubuntu1.18","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 3:5.2.9-0ubuntu4.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:2.2.12-1ubuntu0.29+esm10 | < 2:3.2.12-2ubuntu1.29 | < 3:4.2.11-1ubuntu1.18 | All versions (No fix recorded) | < 3:5.2.9-0ubuntu4.3","eol":null,"hubHref":null},{"vendor":"djangoproject","product":"django","name":"django","label":"django","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.2, < 5.2.15","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0, < 6.0.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.2, < 5.2.15 | ≥ 6.0, < 6.0.6","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"django","label":"Django","category":"framework"}},"hubHref":"/vendor/djangoproject/django"},{"vendor":"PyPI","product":"django","name":"django","label":"django","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/django","purlType":"pypi","versions":[{"text":"< 5.2.15","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.0.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0, < 6.0.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.2.15 | ≥ 6.0.0, < 6.0.6 | ≥ 6.0, < 6.0.6","eol":null,"hubHref":null}],"affectedCount":13,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","label":"docs.djangoproject.com/en/dev/releases/security/","hostname":"docs.djangoproject.com","tags":["Vendor Advisory","FIX","Advisory","Patch"]},{"url":"https://groups.google.com/g/django-announce","label":"groups.google.com/g/django-announce","hostname":"groups.google.com","tags":["Mailing List","WEB","Advisory","ARTICLE","Release Notes"]},{"url":"https://www.djangoproject.com/weblog/2026/jun/03/security-releases/","label":"www.djangoproject.com/weblog/2026/jun/03/security-releases/","hostname":"www.djangoproject.com","tags":["Vendor Advisory","FIX","Advisory","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8404","label":"nvd.nist.gov/vuln/detail/CVE-2026-8404","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/django/django/commit/366d9ae6e8d1469c04e9ebdc1bcd098fc14a3b1e","label":"github.com/django/django/commit/366d9ae6e8d1469c04e9ebdc1bcd098fc14a3b1e","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/django/django/commit/b4330259ffbe1a031ed14daab1f35697460f10f2","label":"github.com/django/django/commit/b4330259ffbe1a031ed14daab1f35697460f10f2","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/django/django/commit/d618d7ae4fec727d5b582bd24f803c28d17bf7cd","label":"github.com/django/django/commit/d618d7ae4fec727d5b582bd24f803c28d17bf7cd","hostname":"github.com","tags":["WEB"]},{"url":"https://docs.djangoproject.com/en/dev/releases/security","label":"docs.djangoproject.com/en/dev/releases/security","hostname":"docs.djangoproject.com","tags":["WEB"]},{"url":"https://github.com/django/django","label":"github.com/django/django","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-201.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-201.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://www.djangoproject.com/weblog/2026/jun/03/security-releases","label":"www.djangoproject.com/weblog/2026/jun/03/security-releases","hostname":"www.djangoproject.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-8cjm-8mp7-r2xf","label":"github.com/advisories/GHSA-8cjm-8mp7-r2xf","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-8404","label":"ubuntu.com/security/CVE-2026-8404","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-8404","label":"www.cve.org/CVERecord?id=CVE-2026-8404","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8848-1","label":"ubuntu.com/security/notices/USN-8848-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-8404","label":"security-tracker.debian.org/tracker/CVE-2026-8404","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/django/django/","label":"github.com/django/django/","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8404.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8404.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://pypi.org/project/Django/","label":"pypi.org/project/Django/","hostname":"pypi.org","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0324","OPENSUSE-SU-2026:10989-1","OPENSUSE-SU-2026:11002-1","OPENSUSE-SU-2026:11003-1","OPENSUSE-SU-2026:11270-1","OPENSUSE-SU-2026:20937-1","SUSE-SU-2026:2318-1","USN-8848-1"],"duplicates":[],"related":["CGA-W8WR-74CW-W46C","OPENSUSE-SU-2026:10989-1","OPENSUSE-SU-2026:11002-1","OPENSUSE-SU-2026:11003-1","OPENSUSE-SU-2026:11270-1","OPENSUSE-SU-2026:20937-1","SUSE-SU-2026:2318-1","USN-8848-1"]},"timeline":[{"kind":"published","date":"2026-06-03T13:16:29.593Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-03T15:46:40.439Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":21,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T19:53:07.915Z","stale":false,"partial":false}}