Rightshold™ Sign up
Open betalive and open to everyoneEvidence Delivery$99 / 30 days · Offers are open — review the exact terms and the payment options shown on the service page before accepting.No token, everany ‘Rightshold token’ is not ours

Answers · MCP security

We run Datalayer's Jupyter MCP Server in standalone streamable-http mode with MCP_TOKEN set, so an assistant can work in our notebooks. What are CVE-2026-77359 and CVE-2026-77318, which version fixes them, and is our token enough?

Last updated

TL;DR: Before version 1.0.3, yes, even with MCP_TOKEN set. Two advisories published November 20, 2026 cover the same gap in jupyter-mcp-server 1.0.2 and earlier: in standalone streamable-http mode, /mcp required the bearer token and rejected forged Host and Origin headers, but the management routes on the same listener (PUT /api/connect and DELETE /api/stop) checked neither. CVE-2026-77318 (GHSA-24pw-rf5p-mgp7, high, CVSS 4.0 7.3) is the missing token check: anyone who could reach the port could point the server at a Jupyter backend of their choosing and stop the current notebook. CVE-2026-77359 (GHSA-9x8x-crjq-g64h, critical, CVSS 4.0 9.3) is the browser route: through DNS rebinding, a web page you visit can send those same requests to a server on localhost, your LAN, a VPN or a Docker-published port. Once repointed, the MCP server starts a kernel client against the attacker's host and sends Jupyter API and WebSocket traffic there. Version 1.0.3 (released July 11, 2026) requires MCP_TOKEN on /api/connect and /api/stop and accepts only local Host and Origin values on the management routes. Upgrade; PyPI listed 2.2.6 as the newest release on November 21, 2026.

What should I check, step by step?

1. Check the installed package: jupyter-mcp-server 1.0.2 and earlier is affected by both advisories and 1.0.3 is the first fixed release. Run pip show jupyter-mcp-server, or check the image tag if you run the datalayer/jupyter-mcp-server container.

  1. These advisories concern standalone streamable-http mode, where the server runs its own HTTP listener. When it runs as a Jupyter Server extension, its MCP endpoints sit behind Jupyter's own IdentityProvider instead, so check which mode each deployment actually uses.
  2. Don't treat MCP_TOKEN alone as proof the listener is closed on versions before 1.0.3. The token guarded /mcp, but /api/connect and /api/stop accepted requests without it.
  3. After upgrading, make sure your own connect and stop calls send Authorization: Bearer with the MCP_TOKEN value. The 1.0.3 change updated the project's connect and stop CLI commands to do this, and the docs say those two routes require it.
  4. Keep the listener on loopback unless network access is intended, and don't publish its port from Docker to all interfaces. The advisories note that binding to 0.0.0.0 widened exposure on the affected versions.
  5. If an affected version ran where browsers or other machines could reach it, check its logs for "Connect endpoint received" lines with a runtime_url or document_url you don't recognise, and rotate the Jupyter tokens the server held.
  6. Don't run with --insecure-mcp-noauth outside an isolated machine. The project's docs say that flag lets any client connect and run tools, including arbitrary code on the connected kernel.

What are CVE-2026-77318 and CVE-2026-77359 in the Jupyter MCP Server?

Both advisories were published in GitHub's advisory database on November 20, 2026 for the pip package jupyter-mcp-server, with 1.0.2 and earlier affected and 1.0.3 patched. They describe one design gap reached in two ways: in standalone streamable-http mode, custom management routes mounted on the same app as /mcp didn't get the protections /mcp had.

How does Jupyter MCP Server 1.0.3 fix CVE-2026-77318 and CVE-2026-77359?

The fix is pull request 262 in datalayer/jupyter-mcp-server, "Protect management routes", merged July 11, 2026 and shipped in release 1.0.3 the same day; PyPI shows 1.0.3 uploaded July 11, 2026. The advisories came out about four months later, so anyone who upgraded over the summer is already covered.

Why do an MCP server's other HTTP routes need the same checks as /mcp?

The MCP transport specification (2025-11-25) says Streamable HTTP servers must validate the Origin header on all incoming connections to prevent DNS rebinding, should bind only to localhost when running locally, and should authenticate all connections. Jupyter MCP Server applied those checks to /mcp; the gap was every other route on the same port.

How do I ask Rightshold about this (free, no key)?

Add the MCP server https://www.rightshold.com/mcp to Claude, Cursor, ChatGPT, Grok or VS Code, then ask: “We upgraded our standalone Jupyter MCP Server past the CVE-2026-77359 and CVE-2026-77318 fix, moved its listener to loopback and rotated the Jupyter token it used. Record that change so we have a dated entry outside our own logs.”

One-click setup

{
  "tool": "record_action",
  "arguments": {
    "action_type": "security.config_change",
    "outcome": "success",
    "occurred_at": "2026-11-21T14:30:00Z",
    "client_event_id": "jupyter-mcp:upgrade-2026-11-21",
    "summary": "jupyter-mcp-server upgraded to 2.2.6 (CVE-2026-77359 / GHSA-9x8x-crjq-g64h and CVE-2026-77318 / GHSA-24pw-rf5p-mgp7 fixed in 1.0.3); standalone streamable-http listener bound to 127.0.0.1; Jupyter token used by the server replaced; logs checked for unknown /api/connect backends"
  }
}

Rightshold isn't affiliated with Datalayer or Project Jupyter. It doesn't scan MCP server code, test your listener or watch outbound connections, and a recorded entry isn't a finding that a setup is safe. Advisory details are as published in GitHub's advisory database (GHSA-24pw-rf5p-mgp7 and GHSA-9x8x-crjq-g64h), the fix as described in pull request 262 and the 1.0.3 release notes, management-route behavior as described in the project's authentication docs, release dates as listed on PyPI, and the transport rules as written in the MCP specification, all read November 21, 2026; advisories get updated, so confirm fixed versions on the linked pages.

What are the sources?

Related

Not legal advice. JSON · Markdown · All answers

Get a free API key in one call

No card and no email needed. 100 free credits; the license and policy checks stay free without a key.

curl -s -X POST https://www.rightshold.com/v1/accounts/signup -H "Content-Type: application/json" -d '{"accept_terms":true}'
export RIGHTSHOLD_API_KEY=rs_...   # the api_key from the reply (shown once)
curl -s https://www.rightshold.com/v1/licenses/check -H "Authorization: Bearer $RIGHTSHOLD_API_KEY" \
  -H "Content-Type: application/json" -d '{"license":"MIT","intended_use":{"commercial_use":true}}'