Vulnerability in Jupyter MCP Server Affects Host and Origin Validation
CVE-2026-77359
What is CVE-2026-77359?
The Jupyter MCP Server, utilized as a Model Context Protocol server for Jupyter environments, suffers from an improper validation issue in versions prior to 1.0.3. Specifically, while the standalone streamable-http mode properly validates Host and Origin values for the /mcp endpoint, it fails to impose similar restrictions on crucial state-changing management routes such as /api/connect and /api/stop. This oversight allows malicious websites to exploit DNS rebinding attacks, effectively redirecting to their attacker-controlled infrastructure. By sending a crafted request through /api/connect, an attacker can manipulate runtime_url and document_url parameters, initiating unauthorized kernel clients. Furthermore, the exposed /api/stop endpoint can be misused to terminate active notebook kernels, posing serious security risks. It is imperative for users to update to version 1.0.3 to mitigate this vulnerability and enhance their application's security.
Affected Version(s)
jupyter-mcp-server < 1.0.3
