CVE-2026-137189 datalayer · jupyter-mcp-server
AI summary
In datalayer jupyter-mcp-server before 2.1.3, the management route protection for /api/connect, /api/stop and /api/healthz trusts the client-supplied Host header, so a remote unauthenticated attacker can bypass it with a localhost Host value; the server binds to all interfaces by default. In --insecure-mcp-noauth mode the attacker can replace the active Jupyter backend configuration, while in --mcp-token mode only the health route is reachable without a token. Critical (CVSS 9.3); upgrade to 2.1.3 promptly.
Official description
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.
- Published
- 2026-11-30 19:17 UTC
- Modified
- 2026-11-30 19:17 UTC
- CVSS
- 9.3 Critical
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - ENISA EUVD
- EUVD-2026-139650
- CWE
- CWE-346
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Attack requirements
- none
- Privileges required
- none
- User interaction
- none
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/datalayer/jupyter-mcp-server/commit/5db55d551f929a19b2acb6248385fc87383b419b - github.com
https://github.com/datalayer/jupyter-mcp-server/releases/tag/v2.1.3 - github.com
https://github.com/datalayer/jupyter-mcp-server/security/advisories/GHSA-f8rf-rcrx-h6r9