CVE Professor
/
All CVEs
CVE-2026-137189

CVE-2026-137189 — Datalayer Jupyter-mcp-server — CWE-346

CRITICAL CVSS 9.3 Shodan

## Summary 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. ## Details - `jupyter_mcp_server/server.py:105-169` - `ManagementRouteSecurityMiddleware.dispatch` and `_is_local_hostname` (lines 110-111) do a pure string comparison against the parsed Host header, never referencing `request.client` or `scope["client"]` (confirmed via grep - neither appears anywhere in this file). - Confirmed against the actual pinned dependency: `starlette==1.6.0`'s `datastructures.py` builds `URL.netloc` from `scope["headers"]`'s host entry (validated only against a syntax regex) whenever present, falling back to `scope["server"]` (the real bind address) only if the header is absent or malformed. - `utils.py:429` - the server still binds `0.0.0.0` by default, so this is reachable from the network, not just localhost. ## Proof of Concept Started the real server (`--insecure-mcp-noauth --transport streamable-http`). `curl -X PUT /api/connect -H "Host: evil.com"` correctly returns 421 Misdirected Request. The same re

## Summary 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. ## Details - `jupyter_mcp_server/server.py:105-169` - `ManagementRouteSecurityMiddleware.dispatch` and `_is_local_hostname` (lines 110-111) do a pure string comparison against the parsed Host header, never referencing `request.client` or `scope["client"]` (confirmed via grep - neither appears anywhere in this file). - Confirmed against the actual pinned dependency: `starlette==1.6.0`'s `datastructures.py` builds `URL.netloc` from `scope["headers"]`'s host entry (validated only against a syntax regex) whenever present, falling back to `scope["server"]` (the real bind address) only if the header is absent or malformed. - `utils.py:429` - the server still binds `0.0.0.0` by default, so this is reachable from the network, not just localhost. ## Proof of Concept Started the real server (`--insecure-mcp-noauth --transport streamable-http`). `curl -X PUT /api/connect -H "Host: evil.com"` correctly returns 421 Misdirected Request. The same re

CVSS v4.0 Vector Metrics
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
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. None AT:N
Privileges Req. None PR:N
User Interaction None UI:N
Vuln. Conf. High VC:H
Vuln. Integrity High VI:H
Vuln. Avail. High VA:H
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
AI Security Analysis & Remediation

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-137189
CVSS 9.3/10 · CRITICAL · 30.11.2026
CWE: CWE-346
Vector: 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
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Summary: ## Summary

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…
Affected: datalayer jupyter-mcp-server

⚡ ATTACK VECTOR
Network / Remote (AV:N) · no authentication required (PR:N) · no user interaction (UI:N) · low attack complexity (AC:L).

🌍 REAL WORLD IMPACT
All confidential data readable/stealable; data can be modified or deleted; service can be completely taken down.

🛡️ REMEDIATION
→ Apply vendor security update for datalayer jupyter-mcp-server.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
🚨 NOW (24-48h) — Remote, no-auth, low complexity.

────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="datalayer jupyter-mcp-server"
CVSS Score
9.3 / 10 · CVSS CRITICAL
Weakness Types (CWE)
CWE-346
Affected Products (1)
datalayer:jupyter-mcp-server
References & Advisories (3)
Related CVEs
5.8
CVE-2026-145353
Avahi through 0.9-rc5 contains an origin validation error in libavahi-client that allows unprivileged local us
4.7
CVE-2026-144661
Bitwarden browser extension before 2026.2.0 contains an origin validation error in isValidRpId() in libs/commo
8.1
CVE-2026-137845
An authentication-context vulnerability in Zimbra Collaboration Suite (ZCS) allows a valid app-specific passwo
4.2
CVE-2026-116629
Origin Validation Error vulnerability in Apache Camel CometD component. This issue affects Apache Camel: fr
6.5
CVE-2026-142635
Laravel is a web application framework. Prior to 13.43.0 and 12.73.0, On applications with no trusted proxies
10.0
CVE-2026-133300
Incorrect authorization in Azure Center for SAP Solutions allows an unauthorized attacker to execute code over
10.0
CVE-2026-130609
Deserialization of untrusted data vulnerability in DİA Yazılım Sanayi ve Ticaret A.Ş. DİA ERP allows Cros