CVE-2026-137189
9.3CriticalPublished Nov 30, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
Critical
0CVSS v4.010
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-346
What an attacker gets
Unauthenticated remote attackers can bypass access controls to modify Jupyter backend configurations or access health endpoints. This is possible because the server trusts the client-supplied Host header to verify request origin.
Root cause
The middleware validates the request hostname based on the untrusted Host header instead of the actual TCP peer connection.
Affected versions
Jupyter MCP Server prior to 2.1.3
CVSS v4.0 · 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
Fix & remediation
Upgrade to version 2.1.3 or later. If you cannot patch immediately, ensure the server is bound only to localhost rather than all network interfaces.
$ pip install --upgrade jupyter-mcp-serverAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
Related Critical CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-773187.3HighUnauthenticated attackers can redirect Jupyter traffic to malicious infrastructure or stop notebook kernels. This occurs when the server is in standalone streamable-http mode.
- CVE-2026-773599.3CriticalRemote attackers can hijack Jupyter kernel connections and stop notebooks via DNS rebinding. This requires no authentication and relies on a user visiting a malicious website while the server is running.
- CVE-2023-544259.8CriticalUnauthenticated attackers can achieve remote code execution by uploading a web shell to the server. This is possible via path traversal in the /pmc-bin/upload_fcgi endpoint.
- CVE-2026-1386709.8CriticalRemote unauthenticated attackers can bypass authentication and gain full control of the device. This requires no user interaction and can be triggered by sending a crafted request to the web interface.
- CVE-2026-1371829.1CriticalUnauthenticated attackers can bypass authentication controls to access restricted application paths. This occurs because the server trusts a client-supplied X-Original-URL header.
- CVE-2026-1371809.9CriticalAuthenticated attackers with script execution permissions can achieve remote code execution on the host. They do this by injecting malicious commands into script parameters, bypassing existing denylists.