Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-137189: critical-severity vulnerability (CVSS 9.3) in datalayer jupyter-mcp-server.
What happened
Original description from the source: 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.
Why it matters
Critical severity, CVSS 9.3.
Affected products and versions
datalayer jupyter-mcp-server < 2.1.3
| Product | Versions | Fixed in |
|---|---|---|
| datalayer jupyter-mcp-server | < 2.1.3 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/datalayer/jupyter-mcp-server/security/advisories/GHSA-f8rf-rcrx-h6r9 — CVE Program
- https://github.com/datalayer/jupyter-mcp-server/commit/5db55d551f929a19b2acb6248385fc87383b419b — CVE Program
- https://github.com/datalayer/jupyter-mcp-server/releases/tag/v2.1.3 — CVE Program
Weaknesses (CWE): CWE-346
Relevant change history
Published
Preliminary advisory published.