Jupyter MCP Server: Measuring a Host Header Trust Boundary
Jupyter MCP Server connects an AI client to Jupyter kernels and management routes. CVE-2026-137189 affects versions before 2.1.3. Its management middleware checked request.url.hostname instead of the actual TCP peer, so a remote caller could supply a localhost value in the Host header and pass the local-only check for management routes.
The flaw is a useful reminder that a product fingerprint is not an access-control test. On 2026-11-30 at 20:45 UTC, ZoomEye returned 36 matches for http.body="jupyter-mcp-server" with sub_type=all, page 1, and page size 1. The string may appear in documentation, source pages, error output, package metadata, or an exposed service. It is not a count of running MCP servers or of instances with the vulnerable management routes enabled.
The query can help an owner begin a public footprint review. Filter by owned domains, certificates, and hosting records. Then confirm whether the page is an application, documentation, a repository mirror, or a health endpoint. For a suspected service, use the product's own diagnostics and deployment metadata to establish the version and transport mode.
The management routes include operations for connecting, stopping, and checking health. Those routes need a trust decision based on the actual network peer, a trusted proxy identity, or a properly authenticated client. A client header can describe the intended host, but it is not proof of where the connection originated. The same header is easy to spoof through a reverse proxy.
Verification plan
Upgrade to Jupyter MCP Server 2.1.3 or later. Test from a remote network with a forged localhost Host header and confirm that management operations are denied. Test from the intended local control path and confirm they still work. Record the HTTP response, the application log, and the TCP source seen by the server.
Check each reverse proxy in front of the service. The proxy should normalize Host and set only the forwarding headers that the application trusts. If the application uses a loopback bind, confirm that the container port is not published on a public interface. A host-header bypass can exist even when the service appears to listen only on localhost if the proxy accepts external traffic and forwards the header unchanged.
Review management-route logs for changes to kernel backends, stop operations, and health calls from unexpected peers. Correlate them with notebook creation and code execution. A successful exploit may look like a legitimate management request after the header check passes.
Measurement limits
The body string can miss an installation that does not print the package name. It can also match a page that merely discusses the project. The 36 matches are a public reference set, not a Jupyter fleet.
Use ZoomEye to ask where this package is exposed or discussed. Use server inventory and authenticated tests to decide whether a specific endpoint is affected. The important evidence is the peer address, the hostname value, the route, the version, and whether a management action succeeded.
Top comments (0)