CVE-2026-137189
Jupyter MCP management routes mistake a client-supplied Host value for local origin
datalayer · jupyter-mcp-server
First documented disclosure · Review checkpoint
Summary
A remote caller can bypass the management-route locality check with a localhost Host header.
Severity and exploitation evidence
Critical · 9.3/10 · CVSS 4.0. Severity source.
Exploitation not established: The reviewed sources establish a reported weakness and maintainer correction, not malicious exploitation or identified victims. No target software, package, model or proof of concept was executed during this review.
Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.
How the weakness works
The middleware checked request.url.hostname, derived from the request’s Host header, rather than the actual TCP peer. The default listener binds all interfaces.
Conditions required
The caller can reach the management listener. Full unauthenticated backend replacement requires --insecure-mcp-noauth; in token mode state-changing connect/stop routes still require a valid token.
Potential impact
In insecure mode, replacement of active Jupyter backend configuration and service disruption. In token mode, the demonstrated unauthenticated exposure is limited to health/status.
Affected versions and configurations
jupyter-mcp-server before 2.1.3.
Fix and mitigation status
Stable 2.1.3 was released September 1. The tagged server.py adds _is_local_peer before management-route dispatch while retaining token authentication checks.
Practical next steps
Upgrade to 2.1.3 or later, use authenticated mode and restrict network exposure of management endpoints.
Operating lesson
Connection-locality decisions must use transport evidence, not a caller-controlled hostname.
Evidence and limits
The advisory is a distinct bypass of earlier DNS-rebinding fixes, not a new report of those old CVEs. Its critical impact is conditional on insecure mode. Static tagged-source inspection verified the additional peer guard. Issuing CNA publication was 2026-11-30, distinct from the earliest verified public disclosure used here. Severity is GitHub_M CNA CVSS 4.0 Critical 9.3. Static review only; upstream tests were not repeated.
Sources
- Original advisory with mode-specific impact
Primary source ·
- Stable 2.1.3 release
Primary source ·
- Tagged corrected middleware
Primary source ·
- Issuing CNA record
Primary source ·