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

Published Nov 30, 2026
·
Updated

Jupyter MCP Server is a Model Context Protocol server for Jupyter. Prior to 2.1.3, ManagementRouteSecurityMiddleware in jupytermcpserver/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.

Affected Software

1 affected component
pypi/jupyter-mcp-server<2.1.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.1.3

Event History

Nov 30, 2026
CVE Published
via MITRE·06:47 PM
Data Sourced
via MITRE·06:47 PM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are exposed to remote exploitation?

Versions before 2.1.3 are exposed when the server is reachable over the network, because it binds to all network interfaces by default. A remote caller can spoof a localhost Host header to bypass the middleware's hostname-based check.

2

What can an unauthenticated attacker do in insecure mode?

When running with --insecure-mcp-noauth, a remote attacker can access the management routes and replace the active Jupyter backend configuration.

3

Does enabling --mcp-token fully prevent impact?

In --mcp-token mode, the state-changing management routes still require a valid bearer token, so Host-header spoofing alone does not authorize backend changes. The /api/healthz route remains reachable.

4

What version contains the fix?

The issue is fixed in version 2.1.3.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203