Jupyter MCP Server Patch Fixes Critical Host Header Spoofing Flaw

A critical vulnerability in the Jupyter MCP Server, identified as CVE-2026-137189, has been patched in version 2.1.3. The flaw allowed remote attackers to bypass security controls by spoofing the Host header, potentially hijacking backend configurations in insecure modes. The fix, released in September 2026, adds verification of the actual TCP peer address to prevent this spoofing.
Key points
- CVE-2026-137189 is a critical vulnerability (CVSS 9.3) in the Jupyter MCP Server affecting versions prior to 2.1.3.
- The flaw stems from ManagementRouteSecurityMiddleware checking the client-supplied Host header instead of the actual TCP peer, allowing remote attackers to spoof 'localhost' access.
- In --insecure-mcp-noauth mode, attackers could replace the active Jupyter backend configuration, including code sandbox URLs and tokens.
- The vulnerability was reported by researcher Syed Anas Mohiuddin and fixed in version 2.1.3, released on September 1, 2026.
- The fix introduces a new function to verify the actual ASGI scope client address, closing the gap in the previous security check.
Background
This incident follows a series of MCP server vulnerabilities reported in late 2026, including flaws in Apache IoTDB and Bagel MCP servers. The Jupyter MCP Server issue is a bypass of a previous fix (CVE-2026-77359) that attempted to restrict access to management routes but relied on untrusted header data. The new patch addresses this by validating the network peer directly.
Why it matters
The vulnerability highlights the risks of relying on client-supplied headers for security decisions in networked services. With a CVSS score of 9.3, it poses a significant threat to systems using Jupyter MCP Server in insecure modes, potentially allowing attackers to hijack backend configurations and access sensitive data.
What to watch
Users of Jupyter MCP Server should upgrade to version 2.1.3 or later to mitigate the risk. Security teams should audit their deployments for any instances of the vulnerable version and ensure that network configurations do not expose the server to untrusted networks.
Want the full story? Read the original reporting
Read on CVEs | Zero Wire | Cloudflare Radar