---
id: CVE-2026-137189
title: Jupyter MCP Server is a Model Context Protocol server for Jupyter
summary: >-
  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 …
severity: critical
cvss: 9.3
cvssVector: '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'
cwe:
  - CWE-346
vendor: jupyter-mcp-server
product: jupyter-mcp-server
affected:
  - jupyter-mcp-server < 2.1.3
patched:
  - jupyter-mcp-server 2.1.3
published: '2026-11-30'
updated: '2026-12-01'
sourceUpdated: '2026-12-01T14:18:12.997'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-137189'
references:
  - url: >-
      https://github.com/datalayer/jupyter-mcp-server/commit/5db55d551f929a19b2acb6248385fc87383b419b
    label: security-advisories@github.com
  - url: 'https://github.com/datalayer/jupyter-mcp-server/releases/tag/v2.1.3'
    label: security-advisories@github.com
  - url: >-
      https://github.com/datalayer/jupyter-mcp-server/security/advisories/GHSA-f8rf-rcrx-h6r9
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-f8rf-rcrx-h6r9'
  - url: 'https://github.com/datalayer/jupyter-mcp-server'
tags:
  - nvd
  - ghsa
  - pip
  - cve.org
  - exploit-available
  - osv
aliases:
  - GHSA-f8rf-rcrx-h6r9
ecosystem: pip
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-12-01T13:30:08.333261Z'
cvssSource: cna
ingestedAt: '2026-11-30T19:45:10.851Z'
epss: 0.00442
epssPercentile: 0.40131
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-137189)

Affected packages:

- `jupyter-mcp-server < 2.1.3`

Patched in:

- `jupyter-mcp-server 2.1.3`

Source: https://github.com/advisories/GHSA-f8rf-rcrx-h6r9
