All vulnerabilities

PyPI

CVE-2026-77359

Jupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routes

Severity
Critical
Published
20 Nov 2026
Last changed
20 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
1.0.3
Exploit chance
0.5% in the next 30 daysHigher than 43% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
CWE-350
Also known as
GHSA-9x8x-crjq-g64h
Sources
OSV.dev and GitHub

Description

Standalone streamable-http mode in datalayer/jupyter-mcp-server rejects forged Host and Origin headers on /mcp, but custom management routes mounted on the same application do not get the same browser-origin protection. A malicious website can keep an attacker origin while its hostname resolves to 127.0.0.1 or a private target address, then send PUT /api/connect to replace the MCP server's active Jupyter backend. The route accepts the browser-shaped request and makes the server start a kernel client against attacker-controlled infrastructure.

The protected /mcp endpoint shows the intended browser-origin boundary. With MCP_TOKEN configured, /mcp rejects forged browser headers:

The vulnerable route is jupyter_mcp_server/server.py:143-187. It parses caller JSON, updates the active Jupyter backend configuration, resets ServerContext, and starts the kernel without applying the /mcp Host/Origin rejection to the custom route:

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
jupyter-mcp-serverPyPI · osv:PyPI:jupyter-mcp-server
  • Every version before 1.0.3

About jupyter-mcp-server

Weekly downloads (PyPI)
11,829PyPI Stats, 24 Nov 2026

Vulnerabilities in jupyter-mcp-server

In our list
2
Published in the last 12 months
2
Critical, last 12 months
1
High, last 12 months
1
Known exploited
0
Search the list for jupyter-mcp-server

References