CVE-2026-8404: CWE-178: Improper Handling of Case Sensitivity in djangoproject Django
Django versions 5.2 before 5.2.15 and 6.0 before 6.0.6 contain a vulnerability in the UpdateCacheMiddleware component where Cache-Control response directives are not matched case-insensitively. This flaw allows remote attackers to read cached responses that were incorrectly cached due to uppercase or mixed-case Cache-Control headers. Earlier unsupported Django versions may also be affected. The issue has a low severity rating and no official patch or remediation level is currently confirmed.
AI Analysis
Technical Summary
CVE-2026-8404 is a vulnerability in Django's UpdateCacheMiddleware where the Cache-Control response directives are matched case-sensitively rather than case-insensitively. This improper handling of case sensitivity (CWE-178) can cause responses with uppercase or mixed-case Cache-Control headers to be cached incorrectly, potentially allowing remote attackers to read responses that should not have been cached. The issue affects Django 5.2 prior to 5.2.15 and 6.0 prior to 6.0.6, with earlier unsupported versions possibly impacted but not evaluated. No official fix or remediation guidance is provided in the available data.
Potential Impact
The vulnerability allows remote attackers to access cached responses that were not intended to be cached due to case-sensitive matching of Cache-Control headers. This could lead to unintended information disclosure. The CVSS score is 3.1 (low), indicating limited impact primarily related to confidentiality. There is no indication of integrity or availability impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary mitigation is currently documented. Users should monitor for updates from the Django project and apply patches once available.
CVE-2026-8404: CWE-178: Improper Handling of Case Sensitivity in djangoproject Django
Description
Django versions 5.2 before 5.2.15 and 6.0 before 6.0.6 contain a vulnerability in the UpdateCacheMiddleware component where Cache-Control response directives are not matched case-insensitively. This flaw allows remote attackers to read cached responses that were incorrectly cached due to uppercase or mixed-case Cache-Control headers. Earlier unsupported Django versions may also be affected. The issue has a low severity rating and no official patch or remediation level is currently confirmed.
CVSS v3.1
Score 3.1low
Affected software
djangoproject
Django
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-8404 is a vulnerability in Django's UpdateCacheMiddleware where the Cache-Control response directives are matched case-sensitively rather than case-insensitively. This improper handling of case sensitivity (CWE-178) can cause responses with uppercase or mixed-case Cache-Control headers to be cached incorrectly, potentially allowing remote attackers to read responses that should not have been cached. The issue affects Django 5.2 prior to 5.2.15 and 6.0 prior to 6.0.6, with earlier unsupported versions possibly impacted but not evaluated. No official fix or remediation guidance is provided in the available data.
Potential Impact
The vulnerability allows remote attackers to access cached responses that were not intended to be cached due to case-sensitive matching of Cache-Control headers. This could lead to unintended information disclosure. The CVSS score is 3.1 (low), indicating limited impact primarily related to confidentiality. There is no indication of integrity or availability impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary mitigation is currently documented. Users should monitor for updates from the Django project and apply patches once available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- DSF
- Date Reserved
- 2026-05-12T15:06:18.803Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a2037c7e29bf47b50c14ee6
Added to database: 06/03/2026, 14:18:47 UTC
Last enriched: 08/08/2026, 15:13:41 UTC
Last updated: 09/13/2026, 10:01:33 UTC
Views: 116
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.