Skip to main content
Menu
CVEs

Jupyter MCP Server auth bypass in HTTP Host header checks

Affects jupyter-mcp-server before 2.1.3. Full backend hijack requires --insecure-mcp-noauth mode, and the server binds 0.0.0.0 by default. Fixed in 2.1.3.

CVE-2026-137189Published November 30, 2026, updated

9.3CriticalCNA
Exploited
No known exploitation
Fix
Fixed in 2.1.3
Who is exposed
Not reported

Summary

The datalayer Jupyter MCP Server checks access using the client-supplied Host header instead of the actual connection source, so a remote attacker can reach its management routes without logging in. In its no-auth mode, this lets the attacker replace the active Jupyter backend configuration, and the health route stays reachable even when token authentication is enabled.

Written by a model

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

Who should check

Teams running datalayer jupyter-mcp-server before 2.1.3 with the default 0.0.0.0 bind; the worst case is --insecure-mcp-noauth mode.

Not fixed by: Host-header checks alone do not stop a forged Host: localhost request.

“the server still binds 0.0.0.0 by default”

github.com

What to do

Upgrade to a fixed version: 2.1.3.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-137189 (Jupyter MCP Server: Host-header spoof bypasses the CVE-2026-77359/GHSA-9x8x-crjq-g64h fix), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-137189 (entry last updated 2026-11-30):
Affected:
- datalayer jupyter-mcp-server: fixed in 2.1.3
Fixed versions: 2.1.3.
Conditions (all must be true for the bug to be hit):
- Server binds to all network interfaces by default (source: https://github.com/datalayer/jupyter-mcp-server/security/advisories/GHSA-f8rf-rcrx-h6r9)
- Full backend hijack requires the --insecure-mcp-noauth mode (source: https://github.com/datalayer/jupyter-mcp-server/security/advisories/GHSA-f8rf-rcrx-h6r9)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-137189 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-137189 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/datalayer/jupyter-mcp-server/security/advisories/GHSA-f8rf-rcrx-h6r9
- https://github.com/datalayer/jupyter-mcp-server/commit/5db55d551f929a19b2acb6248385fc87383b419b
- https://github.com/datalayer/jupyter-mcp-server/releases/tag/v2.1.3
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-137189
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-137189"}.

Affected versions

cve.now Index

26Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure17/25No login or user action needed, reachable over the network without a login · Unknown: Advisories don't say whether default setups are affected
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity9.3/10CVSS 9.3
  • No patch0/5No signal

What would change the score

  • Would score about 71 if added to CISA KEV
  • Would score about 66 if CISA's SSVC rates exploitation active
  • Would score about 31 if advisories confirm default setups are exposed

Timeline

  1. CVE published
  2. First seen by cve.now
  3. Posted on X by cve.now

Evidence 5

KindSource
Vendor advisory 1Establishes: Affected and fixed versions.
AdvisoryGitHub · datalayer/jupyter-mcp-server · Advisory GHSA-f8rf-rcrx-h6r9
CVE record 2Establishes: The identifier and description.
RecordCVE List · CVE-2026-137189
RecordNVD · CVE-2026-137189
Other links 2
RepositoryGitHub · datalayer/jupyter-mcp-server · Commit 5db55d55
RepositoryGitHub · datalayer/jupyter-mcp-server · Release v2.1.3

Questions about CVE-2026-137189

Is CVE-2026-137189 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

What does this mean?

A Host-header spoof bypasses the earlier fix for CVE-2026-77359/GHSA-9x8x-crjq-g64h, letting a remote caller overwrite the live server's backend configuration, such as the code sandbox URL, and force it to connect to attacker infrastructure.

Source: github.com

Which versions are affected by CVE-2026-137189?

jupyter-mcp-server: before 2.1.3.

Source: cve.now feed data

Am I affected, and how do I check?

The affected range is jupyter-mcp-server versions before 2.1.3. Full backend hijack requires the --insecure-mcp-noauth mode, and the server binds to all network interfaces by default. To check a setup, look at the installed jupyter-mcp-server version and whether the server was started with --insecure-mcp-noauth.

Source: github.com

How do I fix CVE-2026-137189?

Upgrade jupyter-mcp-server to 2.1.3 or later.

Source: github.com

No corrections so far. Something wrong on this page? Report an error.