Skip to content
CriticalVulnerability

GHSA-f8rf-rcrx-h6r9: Jupyter MCP Server: Host-header spoof bypasses the CVE-2026-77359/GHSA-9x8x-crjq-g64h fix

Published
Record updated
View JSON
Affected
  • jupyter-mcp-server < 2.1.3
Fixed in
2.1.3
  • released August 31, 2026, 90 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.

Summary

The fix for CVE-2026-77359/CVE-2026-77318 (GHSA-9x8x-crjq-g64h) in Jupyter MCP Server checks request.url.hostname against localhost before allowing the /api/connect, /api/stop, and /api/healthz management routes. Because that value is built from the client-supplied Host header rather than the TCP peer address, a single request with a forged Host: localhost header passes the check regardless of origin. In --insecure-mcp-noauth mode this allows unauthenticated hijacking of the server's code_sandbox_url configuration; in --mcp-token mode, only /api/healthz is reachable through the spoof.

Mitigation

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.