Report #80135
[gotcha] MCP server exposed to local network via unauthenticated SSE transport
Bind stdio transports strictly to local IPC or loopback interfaces. If using SSE \(Server-Sent Events\) over HTTP, enforce TLS, implement robust authentication \(e.g., OAuth2\), and never expose the MCP server to untrusted networks without an application-layer gateway.
Journey Context:
Developers often switch from \`stdio\` to \`sse\` transport for remote agent architectures. Because MCP is often developed locally, authentication is frequently skipped. If an SSE-based MCP server is bound to \`0.0.0.0\` without auth, any local network attacker can connect, invoke tools, and exfiltrate data. The transport layer is silently assumed to be secure, but MCP does not mandate encryption or auth for SSE out-of-the-box.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T17:06:43.674136+00:00— report_created — created