SSE auth/custom headers are logged verbatim by the Inspector proxy
GHSA-8qgq-27v6-55w3 · published 2026-10-21
- Severity
- Low
- CVSS score
- Not scored
- Chance of exploitation (EPSS)
- No CVE
- Fixed in
- 1.0.3
Any user or deployment that connects Inspector to an authenticated SSE MCP server can leak upstream bearer/API tokens into the Inspector proxy logs. This matters for terminals with scrollback, shared developer machines, Docker/Kubernetes logs, support bundles, CI/devcontainer logs, and hosted/internal debug environments where stdout is collected centrally. An attacker who can read those logs can reuse the leaked upstream MCP server credential until it expires or is rotated. The issue does not bypass Inspector proxy authentication by itself, and it does not affect streamable-http through this specific log statement.
Upgrade @modelcontextprotocol/inspector to 1.0.3 or later, and @modelcontextprotocol/inspector-server to 1.0.3 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
Avoid logging full forwarded header values. Either remove the header object from this log or log only non-sensitive header names. At minimum, redact values for authorization, proxy-authorization, cookie, set-cookie, and any header whose name contains token, secret, key, or auth, including values copied through x-custom-auth-header and x-custom-auth-headers. It would also be useful to add a regression test that exercises the SSE connection path with Authorization plus a custom header and asserts that the resulting log output does not contain either secret value.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| @modelcontextprotocol/inspector | npm | >= 0.14.2, <= 1.0.2 | 1.0.3 |
| @modelcontextprotocol/inspector-server | npm | >= 0.14.2, <= 1.0.2 | 1.0.3 |
4 registered MCP servers install an affected version, by the dependency versions deps.dev resolved for a fresh install. The trace says when.
- com.docfork/docfork-mcp@modelcontextprotocol/inspector@0.18.0
- io.github.docfork/docfork@modelcontextprotocol/inspector@0.18.0
- io.github.ref-tools/ref-tools-mcp@modelcontextprotocol/inspector@0.16.8
- io.github.taazkareem/clickup@modelcontextprotocol/inspector@0.20.0
- CriticalPhoenix: Format String Injection in applyChatTemplatearize-phoenix
- CriticalFlowise: Unauthenticated OAuth2 token refresh endpoint returns access tokens — enables token theft for any connected serviceflowise
- CriticalCrawl4AI: authentication bypass vulnerability due to a hardcoded default JWT signing key in the Docker API servercrawl4ai
- CriticalMLflow: Environment variable injection in AI Gateway secrets enables server-side credential exfiltrationmlflow
- CriticalvLLM has RCE In Video Processingvllm
- HighConfig revision hashes could expose password verifiersopenclaw
- CriticalMalicious MCP OAuth callback can switch transport to stdio and execute arbitrary local commands (RCE)@modelcontextprotocol/inspector, @modelcontextprotocol/inspector-client
- CriticalRemote MCP App can steal proxy auth token and execute arbitrary local commands (RCE)@modelcontextprotocol/inspector, @modelcontextprotocol/inspector-client, @modelcontextprotocol/inspector-server
- CriticalMCP Inspector proxy server lacks authentication between the Inspector client and proxy@modelcontextprotocol/inspector
- HighA remote MCP server can execute arbitrary code on the user's machine through the OAuth authorization URL (PowerShell subexpression injection@modelcontextprotocol/inspector
- HighIncomplete fix for CVE-2025-49596: DNS-rebinding info disclosure (API token + stored OAuth tokens) in MCP Inspector@modelcontextprotocol/inspector
- HighMissing Authentication for Critical Function in @modelcontextprotocol/inspector@modelcontextprotocol/inspector, @modelcontextprotocol/inspector-server
The impact, patch and workaround text comes from the advisory, shortened (published by the MCP Inspector project). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.