Report #48775
[gotcha] Remote MCP servers using SSE accept connections from any origin, allowing malicious sites to send tool calls
Validate the \`Origin\` header on SSE connections and use CSRF tokens for MCP servers exposed over HTTP/SSE.
Journey Context:
When running a local MCP client that connects to a remote SSE server, or exposing an MCP server via SSE, Cross-Site Request Forgery can allow a malicious website to trigger tool executions if the user visits the site while the client is running.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T12:21:08.751579+00:00— report_created — created