Analysis · DiggingBeagle record

An MCP service on localhost can still be reached by the wrong client.

Jupyter, Obsidian, Supergateway and Kubernetes tools expose four different places to authenticate the caller before privileged tools are dispatched.

Published
Nov 21, 2026

Overview

An AI assistant may be trusted to edit a notebook, inspect a Kubernetes cluster or search a user's notes. The service granting those abilities is often a local MCP server. Its authority does not disappear when the model stops sending requests. A browser, another process or a remote client can sometimes speak to the same network listener, and a correctly secured model cannot prevent a tool call it never receives. Four advisories illustrate how the transport and management planes determine who actually gets to use an agent's tools.

Begin with the request path, not the product name

The Jupyter management advisory describes a protected /mcp tool endpoint alongside unprotected management routes including /api/connect and /api/stop. A client without the transport token could reconfigure or stop the backend if it could reach those paths. The separate rebinding advisory describes how a hostile webpage could exploit missing Host and Origin restrictions to reach that listener under particular browser and DNS conditions. A management route is not safe merely because the tool transport beside it authenticates properly.

The Obsidian Sync MCP disclosure has a related browser-origin concern but a different application and credential policy. In its no-auth mode, a DNS-rebinding hostname could let an external webpage address local vault tools. The optional token setting and the server's Host/Origin checks are independent controls. This finding also belongs to a different project from the older Obsidian-TC vulnerabilities, despite their similar names and overlap in the trust-boundary category.

The Supergateway WebSocket advisory begins with a direct browser handshake. The /message endpoint did not verify Origin before allowing a WebSocket and MCP initialization sequence, potentially exposing the wrapped stdio tool set. No DNS rebinding is required to understand the core weakness; the transport accepts a requester from an origin it was not supposed to trust. The ultimate outcome follows the permissions of the wrapped tool, not a hypothetical unlimited shell.

Finally, the Kubernetes MCP SSE advisory concerns a default network service that accepted tool calls without client authentication. In this case an untrusted requester with network access could issue actions under the MCP server's Kubernetes credentials. Browser restrictions are not the only line of defense because nonbrowser network clients may reach the listener directly.

Four distinct checkpoints

Checkpoint Question that must have a real enforcement answer
Network reachability Can a client outside the intended local or trusted network connect?
Browser origin Does the listener reject a webpage from an untrusted Origin or Host?
Principal authentication Does every tool and management route require a valid caller identity?
Tool authority Are backend notebook, file, vault or cluster permissions limited to the task?

Passing one checkpoint does not imply the others passed. A valid bearer token on the MCP tool route cannot compensate for an unprotected management route. A listener bound to loopback may still accept browser-origin traffic under the reported conditions. An authenticated gateway cannot make an overly broad Kubernetes service account harmless, although it narrows who can invoke it.

How to test the real boundary

Testing should use an intentionally powerless browser page and an authenticated MCP client as separate principals, with visible records of every accepted and denied request. Repeat the tests across management routes, HTTP tool calls and WebSocket initialization, then inspect effects on the backing notebook, vault or cluster under a deliberately minimal test credential. Verify denial at the gateway and again at the actual backend rather than reading a UI status message as proof of enforcement.

The four disclosures span July, August and November 2026, and they do not describe one combined attack campaign. Each identifies a distinct condition under which authority granted to a trusted agent was reachable through the wrong transport or request origin. Their common lesson is precise: the service must authenticate and authorize the actual client that sends the operation, regardless of whether a model, a browser or an unattended process initiated the request.

Research behind this