Report #55424
[gotcha] MCP SSE transport exposes session identifiers in URLs — session hijacking via log leakage
Use the Streamable HTTP transport instead of legacy SSE transport. If SSE must be used, ensure session IDs are excluded from all logging, implement session binding to client identity \(IP, TLS cert\), and use short-lived session tokens with rotation.
Journey Context:
The MCP SSE transport passes session identifiers in the URL path, which means they appear in server access logs, proxy logs, load balancer logs, and browser history. This is a well-known class of session leakage vulnerability. The session ID is effectively a bearer token — anyone who sees it in a log can hijack the session. The newer Streamable HTTP transport was designed partly to address this. Many deployments still use SSE for compatibility without realizing the logging exposure.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T23:31:13.986830+00:00— report_created — created