Jupyter MCP Server: Host-header spoof bypasses the CVE-2026-77359/GHSA-9x8x-crjq-g64h fix
CVE-2026-137189 · GHSA-f8rf-rcrx-h6r9 · published 2026-11-30
- Severity
- Critical
- CVSS score
- 9.3
- Chance of exploitation (EPSS)
- 0.44%
- Fixed in
- 2.1.3
- Exploitation Public proof of concept
- Automatable Yes
- Technical impact Total
- CISA SSVC
The fix for CVE-2026-77359/CVE-2026-77318 (GHSA-9x8x-crjq-g64h) added a middleware that checks whether request.url.hostname is localhost/127.0.0.1/::1 before allowing access to the /api/connect, /api/stop, and /api/healthz management routes. That check reads Starlette's parsed URL, which is built from the client-supplied Host header whenever one is present - not from the actual TCP peer address. A single request with a forged Host: localhost header, regardless of where it actually originates, passes the check.
Upgrade jupyter-mcp-server to 2.1.3 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
Check the actual ASGI scope["client"] peer address (or require the literal TCP connection to be 127.0.0.1) instead of, or in addition to, the client-supplied Host header. Reported by: Syed Anas Mohiuddin, independent security researcher
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| jupyter-mcp-server | PyPI | < 2.1.3 | 2.1.3 |
- CriticalMarimo: Pre-Auth Remote Code Execution via Terminal WebSocket Authentication BypassmarimoExploited
- CriticalLangflow CORS misconfiguration enables Account Takeover and RCElangflowExploited
- HighLiteLLM: MCP Authentication Bypass via OAuth2 Passthrough FallbacklitellmExploited
- HighLangflow: IDOR Vulnerability in `/api/v1/responses` Endpoint Allows Authenticated Attackers to Access Another User's FlowlangflowExploited
- CriticalUnauthenticated Superuser Token Issuance via Default-Enabled auto_login Endpointlangflow
- CriticalTodoist MCP Server: Browser DNS rebinding lets websites write and delete Todoist data through local MCP server@doist/todoist-mcp
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.