Report #39437
[gotcha] MCP servers exposed via SSE transport without authentication allow network-level RCE
Always implement authentication \(e.g., OAuth2, Bearer tokens\) when binding an MCP server to an HTTP/SSE transport. Prefer local stdio transport for local tools unless remote access is strictly required.
Journey Context:
The MCP spec defines stdio and SSE transports. Stdio is inherently local and isolated. SSE exposes the server over HTTP. Developers often stand up an SSE MCP server for convenience without adding auth, assuming the network is trusted or the tool is harmless. Any attacker who can reach the HTTP endpoint can invoke any tool the server offers, leading to Remote Code Execution. The gotcha is that the default SSE setup has no built-in auth, silently exposing powerful local tools to the network.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T20:40:07.551304+00:00— report_created — created