If you run jupyter-mcp-server in standalone HTTP mode, update to 1.0.3 or later
Jupyter MCP Server: a malicious website could swap its Jupyter backend through unprotected management routes, fixed in 1.0.3 · Security incident · GitHub Advisory Database · datalayer · Nov 20, 2026
What happened
A critical advisory (CVE-2026-77359, GHSA-9x8x-crjq-g64h) published 20 Nov 2026 says jupyter-mcp-server up to 1.0.2 protected its /mcp endpoint against forged Host and Origin headers, but not the management routes on the same app. Using DNS rebinding, a malicious website could send PUT /api/connect to replace the server's active Jupyter backend and make it start a kernel client against attacker-controlled infrastructure, or call /api/stop. A related high-severity advisory (GHSA-24pw-rf5p-mgp7) covers the unauthenticated management routes. Version 1.0.3 is patched.
How to prevent it
Bind local MCP servers to 127.0.0.1 with a token, check Host and Origin on every route, and don't leave HTTP-mode MCP servers running while you browse untrusted sites.
Fix prompt for your own AI tool
Copy this into your own AI tool (Cursor, Lovable, Claude Code, Bolt…). It's general guidance written by us. Review what the AI suggests before applying it.
I use Jupyter MCP Server, which can read web pages, files, emails or tool output. Help me reduce the risk of prompt injection (hidden instructions in content the AI reads). 1) List what my setup can access (files, terminal, browser, MCP servers, email, databases) and what it can do without asking me. 2) Point out the riskiest combinations, e.g. reading untrusted content while also having access to secrets or the ability to send data out. 3) Suggest concrete settings: require approval for commands and network calls, remove MCP servers I don't need, use read-only tokens, and keep the tool updated. 4) Give me a short checklist to follow before opening untrusted repos or documents. Don't change anything until I've approved your plan. Never ask me to paste API keys, passwords or .env contents; tell me where to check them myself.
Why this keeps happening: trusting agents & ai input
An AI agent treats everything it reads as possible instructions: a web page, a README, an email, a code comment or the output of another tool. If that content was written by an attacker, the agent can be steered into running commands, reading files or sending data somewhere it should not.
A quick checklist before you ship
- Give each agent only the tools and folders it needs for the task at hand.
- Require manual approval before it runs shell commands, sends network requests, deletes files or spends money.
- Do not open untrusted repositories or MCP configs with auto-run turned on.
- Keep API keys and production credentials out of any environment an agent can read.
More on this: every trusting agents & ai input story and our related guide.
Tools involved
Jupyter MCP Server stories, MCP stories
Related stories
- If you connect AI agents to MySQL, MariaDB or Postgres through DBHub in read-only mode, update to 1.7.0 or later
DBHub MCP server: read-only mode could be bypassed to write to or drop database tables, fixed in 1.7.0 - If you give an AI agent mcp-server-git, upgrade it to 2026.11.18 or later today, and don't point it at repos you haven't checked
mcp-server-git: six more ways a repo's own Git config could run commands, fixed in 2026.11.18 - Give AI assistant connectors their own scoped, short-lived tokens, never full session tokens
Mittwald's MCP server leaked customer session tokens, and an attacker used them to get into 56 hosting projects
Source: original post on GitHub Advisory Database ↗. Summarised in our own words; numbers are as stated by the source. Browse all stories.