CVE-2026-8404: Potential exposure of private data via case-sensitive Cache-Control directives in UpdateCacheMiddleware
Vulnerability summary
CVE-2026-8404 is a medium (CVSS 5.3) Improper Handling of Case Sensitivity vulnerability in djangoproject django. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 21.1% of scored vulnerabilities.
Not severe (CVSS 2.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 8 · Related 8Timeline
- 03-06-2026PublishedVulnerability first disclosed.
- 03-06-2026Last modifiedVulnerability information updated.
Description
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 Ahmed Badawe for reporting this issue.
CVSS metrics
10 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated2.3LowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated2.3LowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- NVDNIST2.3LowCVSS: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
- CVE.orgCNA3.1LowCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:NDiffers
- OSV · PypiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- OSV · AlpineEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
0.27%
Chance of exploitation in the next 30 days
Percentile
21%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.27% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard9 products
- authentik-2025.12All versions (No fix recorded)
- authentik-fips-2025.12All versions (No fix recorded)
- awxAll versions (No fix recorded)
- openstack-horizon-2025.1All versions (No fix recorded)
- openstack-horizon-2025.1-fipsAll versions (No fix recorded)
Alpine1 product
- py3-django< 5.2.15-r0
Debian1 product
- python-djangoAll versions (No fix recorded) | < 3:5.2.15-1
Djangoproject1 product
- django≥ 5.2, < 5.2.15 | ≥ 6.0, < 6.0.6
PyPI1 product
- django< 5.2.15 | ≥ 6.0.0, < 6.0.6 | ≥ 6.0, < 6.0.6
Ubuntu1 product
- python-django< 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
6 vendors · 14 products
References
20 links- github.com/django/djangoPACKAGE
Show all 20 references
- pypi.org/project/Django/PACKAGE