CVE-2026-137189 PUBLISHED

Jupyter MCP Server: Host-header spoof bypasses the CVE-2026-77359/GHSA-9x8x-crjq-g64h fix

Assigner: GitHub_M
Reserved: 25.11.2026 Published: 30.11.2026 Updated: 01.12.2026

Jupyter MCP Server is a Model Context Protocol server for Jupyter. Prior to 2.1.3, ManagementRouteSecurityMiddleware in jupyter_mcp_server/server.py checks request.url.hostname rather than the actual TCP peer before permitting access to /api/connect, /api/stop, and /api/healthz. Starlette derives that hostname from the client-supplied Host header, so a remote caller can supply a localhost Host value to pass the check. The server binds to all network interfaces by default. In --insecure-mcp-noauth mode, the caller can replace the active Jupyter backend configuration; in --mcp-token mode the state-changing routes still require a valid bearer token, while the health route remains reachable. This issue is fixed in 2.1.3.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 9.3

Product Status

Vendor datalayer
Product jupyter-mcp-server
Versions
  • Version < 2.1.3 is affected

References

Problem Types

  • CWE-346: Origin Validation Error CWE