External risk intelligence

Jupyter MCP Server Host Header Bypass

CVE advisorySeverity: CRITICAL (CVSS 9.3)

CVE-2026-137189

The Jupyter MCP Server is a service intended to handle API requests and exposes endpoints like /api/connect and /api/healthz. Because the server binds to all network interfaces by default and provides administrative control over Jupyter backend configurations, it functions as a network-accessible service that can be exposed to the internet in many deployment scenarios.

Halo Surface Signal: 4 out of 5 — likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

A security vulnerability in Jupyter MCP Server allows unauthenticated remote attackers to potentially alter Jupyter backend configurations or access sensitive routes by exploiting a hostname check in its API. This could lead to unauthorized control over the server's environment, especially when the server operates in less secure modes.

  • Unauthenticated attackers can exploit a hostname check flaw.
  • Matters because it affects Jupyter backend control.
  • Confirm relevance and assess potential exposure.

Attack Path

How an attacker could exploit the issue

An attacker can exploit this vulnerability by sending a request to the Jupyter MCP Server with a crafted "Host" header that mimics a local connection. The server incorrectly trusts this header to verify access to sensitive management endpoints, rather than checking the actual network origin of the request. If the server is running in a mode without authentication or with token-based authentication, an attacker could then manipulate the server's configuration or view its status.

  • Entry requires network access to the server.
  • Triggered by a forged Host header.
  • Risk includes unauthorized configuration changes.

Live Threat

Current exploitation, exposure, and threat context

This vulnerability in Jupyter MCP Server could allow an unauthenticated remote attacker to bypass access controls by sending a forged Host header, potentially leading to unauthorized actions on the server. In `--insecure-mcp-noauth` mode, this could permit an attacker to replace the active Jupyter backend configuration. Even in `--mcp-token` mode, state-changing API routes remain protected by a token, but the health check route may still be accessible.

  • Unauthenticated access to Jupyter backend configuration.
  • Exploiting a hostname verification flaw.
  • Unauthorized modification of server state.

Operational Fix

Recommended remediation, mitigation, and detection steps

Application owners and infrastructure teams are likely responsible for managing Jupyter MCP Server deployments. The first practical step is to identify all instances of this server, determine their network reachability and business criticality, and confirm the accountable owner for each. Subsequently, a remediation plan should be developed based on the identified risks.

  • Confirm asset ownership and exposure.
  • Verify Jupyter MCP Server instances.
  • Plan remediation by risk and criticality.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is the Jupyter MCP Server?

Jupyter MCP Server is a component that enables the Model Context Protocol (MCP) for Jupyter environments. It acts as a bridge, allowing AI models or other clients to interact with Jupyter tools. By providing specialized API endpoints, it facilitates operations like connecting to backends or checking system health, essentially serving as a communication interface for managing Jupyter configurations.

How does CVE-2026-137189 cause a security weakness?

This vulnerability falls under the Improper Validation of Specified Hostness (CWE-346) class. The software incorrectly trusts the 'Host' header provided by a client to verify the connection's origin, rather than checking the actual network address. Because this header is easily forged, an attacker can trick the server into thinking a remote request originated from the local machine, bypassing intended access restrictions on sensitive API routes.

What triggers this vulnerability?

The flaw is triggered when an attacker sends an API request to the server with a crafted 'Host' header set to 'localhost'. If the server is running with the default configuration—which binds to all network interfaces—it accepts the request as if it were local. Note that sending a standard, non-localhost header does not trigger this specific bypass, nor does this affect configurations where strict, non-header-based origin validation is independently enforced.

How do I know if my Jupyter MCP Server is at risk?

According to Halo Surface Signal, this service is highly relevant because it binds to all network interfaces by default and manages sensitive backend configurations. Any instance reachable over a network, particularly those exposed to the internet, carries significant risk. You should prioritize assessing instances that provide administrative control or state-changing capabilities to external callers.

What is the first step to address this CVE?

Begin by auditing your infrastructure to locate all active Jupyter MCP Server deployments. Document the network path for each instance to determine if it is exposed to untrusted networks. Once identified, confirm the operational owner for these assets and assess the specific mode—such as --insecure-mcp-noauth—they are running in, as this dictates the immediate potential for unauthorized configuration changes.

References