CVE-2026-137189
Jupyter MCP Server: Host-header spoof bypasses the CVE-2026-77359/GHSA-9x8x-crjq-g64h fix
Also known as GHSA-f8rf-rcrx-h6r9
AI summary AI generated
A remote attacker can spoof the Host header to bypass a localhost-only check and reconfigure the Jupyter backend of Jupyter MCP Server when no-auth mode is enabled.
Mitigation
- Upgrade jupyter-mcp-server to 2.1.3 or later.
Who should check
- Projects that depend on PyPI package jupyter-mcp-server (< 2.1.3)
- Anyone running datalayer jupyter-mcp-server < 2.1.3
Vulnerability facts
- Affected
- jupyter-mcp-server < 2.1.3
- Fixed in
- 2.1.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: None
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- CWE
- CWE-346
- Modified
Description
Jupyter MCP Server is a Model Context Protocol server for Jupyter. Prior to 2.1.3, ManagementRouteSecurityMiddleware in jupyter_mcp_server/server.py checks request.url.hostname rather than the actual TCP peer before permitting access to /api/connect, /api/stop, and /api/healthz. Starlette derives that hostname from the client-supplied Host header, so a remote caller can supply a localhost Host value to pass the check. The server binds to all network interfaces by default. In --insecure-mcp-noauth mode, the caller can replace the active Jupyter backend configuration; in --mcp-token mode the state-changing routes still require a valid bearer token, while the health route remains reachable. This issue is fixed in 2.1.3.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI jupyter-mcp-server | < 2.1.3 | 2.1.3 | ghsa |
| datalayer jupyter-mcp-server | < 2.1.3 | — | cvelist |
Versions mentioned in the description AI generated
Extracted by AI; each line quotes the description word for word. Source data above takes precedence.
- Affected: jupyter-mcp-server Prior to 2.1.3
Prior to 2.1.3
- Fixed: jupyter-mcp-server 2.1.3
This issue is fixed in 2.1.3.
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-137189. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-137189.md Affected: jupyter-mcp-server < 2.1.3 Fixed in: 2.1.3 Steps: 1. Search this machine and project for jupyter-mcp-server (PyPI), datalayer jupyter-mcp-server: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Vendor advisories
Patches
FAQ
Is CVE-2026-137189 being exploited?
There is no confirmed exploitation: CVE-2026-137189 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-137189?
Critical: CVSS 9.3 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-137189?
jupyter-mcp-server < 2.1.3.
Is there a fix for CVE-2026-137189?
Yes. Fixed in 2.1.3. Upgrade jupyter-mcp-server to 2.1.3 or later.
How do I check if I'm affected by CVE-2026-137189?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More jupyter-mcp-server vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| CRITICAL 9.3 | CVE-2026-77359 Jupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routes | PyPI packages | EPSS 39% | |
| HIGH 7.3 | CVE-2026-77318 Jupyter MCP Server: Unauthenticated management routes can hijack the Jupyter backend in standalone HTTP mode | PyPI packages | EPSS 67% |