Skip to main content
EPSS 0.3%top 79%

CVE-2026-8404: CWE-178: Improper Handling of Case Sensitivity in djangoproject Django

0
Low
Published: 06/03/2026 (06/03/2026, 15:30:43 UTC)
Source: CVE Database V5
Vendor/Project: djangoproject
Product: 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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N

Affected software

djangoproject

Django

Affected versions
>=6.0 <6.0.6>=5.2 <5.2.15
django
pkg:pypi/django
Affected versions
=5.2=6.0
django
pkg:pypi/django
Affected versions
>=6.0 <6.0.6>=5.2 <5.2.15

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/08/2026, 15:13:41 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses