Description
Vulnerable to DNS rebinding attacks when using SSE (http://b/499408790). During the beta phase, we implemented `allowed-origins` and `allowed-hosts` flags to align with MCP security guidelines. However, the hardcoded `Access-Control-Allow-Origin: *` header in the SSE initialization handler was inadvertently retained. This vulnerability specifically impacts users connecting via Toolbox using SSE under specification v2024-11-05.
Problem types
CWE-942: Permissive Cross-domain Policy with Untrusted Domains
Product status
Any version before PR 3054 (Fix CORS bypass)
References
github.com/googleapis/mcp-toolbox/issues/3053
github.com/googleapis/mcp-toolbox/pull/3054