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

- **Severity:** CRITICAL 9.3
- **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:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **CWE:** CWE-346
- **Aliases:** GHSA-f8rf-rcrx-h6r9
- **Published:** 2026-11-30T18:47:07.907Z
- **Modified:** 2026-11-30T20:39:44.000Z

> **AI summary (AI-generated, claude-haiku-5-5):** 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.

## Who should check

- Projects that depend on PyPI package jupyter-mcp-server (\< 2.1.3)
- Anyone running datalayer jupyter-mcp-server \< 2.1.3

## 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

- PyPI `jupyter-mcp-server`: affected \< 2.1.3; fixed 2.1.3 (ghsa)
- datalayer jupyter-mcp-server: \< 2.1.3 (cvelist)

## Technologies

MCP servers and SDKs (AI-matched), PyPI packages, Python (AI-matched)

## Mitigation

- Upgrade jupyter-mcp-server to 2.1.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/datalayer/jupyter-mcp-server/security/advisories/GHSA-f8rf-rcrx-h6r9>
- patch: <https://github.com/datalayer/jupyter-mcp-server/commit/5db55d551f929a19b2acb6248385fc87383b419b>
- other: <https://github.com/datalayer/jupyter-mcp-server/releases/tag/v2.1.3>
- other: <https://github.com/advisories/GHSA-f8rf-rcrx-h6r9>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-137189>
- GitHub Advisory Database: CC-BY 4.0 <https://github.com/advisories/GHSA-f8rf-rcrx-h6r9> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-137189> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-137189>
