Django up to 5.2.14/6.0.5 django.middleware.cache.UpdateCacheMiddleware case sensitivity

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
3.8$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as problematic, has been found in Django up to 5.2.14/6.0.5. Impacted is an unknown function of the component django.middleware.cache.UpdateCacheMiddleware. This manipulation causes case sensitivity. This vulnerability is handled as CVE-2026-8404. The attack can be initiated remotely. There is not any exploit available. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability has been found in Django up to 5.2.14/6.0.5 and classified as problematic. Affected by this vulnerability is an unknown functionality of the component django.middleware.cache.UpdateCacheMiddleware. The manipulation with an unknown input leads to a case sensitivity vulnerability. The CWE definition for the vulnerability is CWE-178. The product does not properly account for differences in case sensitivity when accessing or determining the properties of a resource, leading to inconsistent results. As an impact it is known to affect confidentiality. The summary by CVE is:

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.

The weakness was released by Ahmed Badawe. It is possible to read the advisory at docs.djangoproject.com. This vulnerability is known as CVE-2026-8404 since 05/12/2026. The exploitation appears to be difficult. The attack can be launched remotely. The exploitation doesn't need any form of authentication. It demands that the victim is doing some kind of user interaction. The technical details are unknown and an exploit is not publicly available. The pricing for an exploit might be around USD $0-$5k at the moment (estimation calculated on 06/08/2026).

Upgrading to version 5.2.15 or 6.0.6 eliminates this vulnerability. The upgrade is hosted for download at docs.djangoproject.com.

The vulnerability is also documented in the vulnerability database at CERT Bund (WID-SEC-2026-1807). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Affected

  • Open Source Django

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒

CVSSv3info

VulDB Meta Base Score: 3.8
VulDB Meta Temp Score: 3.8

VulDB Base Score: 3.1
VulDB Temp Score: 3.0
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 5.3
NVD Vector: 🔒

CNA Base Score: 3.1
CNA Vector (DSF): 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Case sensitivity
CWE: CWE-178 / CWE-697
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Yes

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Django 5.2.15/6.0.6

Timelineinfo

05/12/2026 CVE reserved
06/03/2026 +22 days Advisory disclosed
06/03/2026 +0 days VulDB entry created
06/08/2026 +4 days VulDB entry last update

Sourcesinfo

Advisory: docs.djangoproject.com
Researcher: Ahmed Badawe
Status: Confirmed

CVE: CVE-2026-8404 (🔒)
GCVE (CVE): GCVE-0-2026-8404
GCVE (VulDB): GCVE-100-368131
CERT Bund: WID-SEC-2026-1807 - Django: Mehrere Schwachstellen ermöglichen Offenlegung von Informationen

Entryinfo

Created: 06/03/2026 16:38
Updated: 06/08/2026 00:42
Changes: 06/03/2026 16:38 (77), 06/05/2026 15:44 (7), 06/08/2026 00:42 (11)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!