Host header spoofing in Jupyter MCP Server bypasses access checks
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-346.
Summary
Jupyter MCP Server before 2.1.3 is affected. Its management route check uses the client-supplied Host header instead of the real TCP peer, which is an origin validation error (CWE-346). A remote unauthenticated attacker can send a localhost Host value to reach management endpoints such as /api/connect, and in --insecure-mcp-noauth mode can replace the active Jupyter backend configuration. The server binds to all network interfaces by default.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
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 now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| datalayer | jupyter-mcp-server | before 2.1.3 | 2.1.3 | Patch available | CNA |
| — | jupyter-mcp-server (PyPI) | before 2.1.3 | 2.1.3 | Patch available | GHSA-f8rf-rcrx-h6r9 |
- jupyter-mcp-server Vendordatalayer Affected before 2.1.3 Fixed in 2.1.3 Patch available CNA
- jupyter-mcp-server (PyPI) Vendor— Affected before 2.1.3 Fixed in 2.1.3 Patch available GHSA-f8rf-rcrx-h6r9
Remediation
Upgrade to version 2.1.3, the fixed version listed for the datalayer jupyter-mcp-server product and the PyPI package jupyter-mcp-server.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA jupyter-mcp-server (datalayer) Fixed in 2.1.3
- Fix · GHSA-f8rf-rcrx-h6r9 jupyter-mcp-server (PyPI) Fixed in 2.1.3 Advisory →
Timeline
- 2026-11-30 Threatist record created from CVE-2026-137189
- 2026-11-30 Alias added: GHSA-f8rf-rcrx-h6r9
- 2026-11-30 Fix available: PyPI/[email protected] · GHSA-f8rf-rcrx-h6r9
- 2026-11-30 CVSS score added · GHSA-f8rf-rcrx-h6r9
- 2026-11-30 Weakness changed · GHSA-f8rf-rcrx-h6r9
- 2026-11-30 4 new references · GHSA-f8rf-rcrx-h6r9
References
Other 4
More datalayer vulnerabilities
- TI-2026-95010 Jupyter MCP Server lets websites hijack Jupyter via DNS rebinding CVSS 4.0CRITICAL 9.3
- TI-2026-95002 Missing authentication in Jupyter MCP Server management routes CVSS 4.0HIGH 7.3
Sources
- CVE-2026-137189 · CVE Program
- CVE-2026-137189 · NVD
- GHSA-f8rf-rcrx-h6r9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences