Case · DiggingBeagle record

Jupyter MCP trusted a client-supplied Host value as evidence of locality

Jupyter MCP checked a client-controlled Host-derived hostname instead of the TCP peer, permitting a forged localhost value to pass the locality check.

Published by DiggingBeagle:

Scope

Reachable Jupyter MCP HTTP management routes before 2.1.3; auth mode determines consequences.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
demonstrated
Evidence
Grade B
Remediation
patch available
AI role
AGAINST AI
Basis and provenance

The advisory reports a real-server demonstration; inspected v2.1.3 source contains the peer check. Patch availability is supported without claiming that installed binaries, proxies or production victims were tested. Impact remains unscored: the evidence describes conditional or study-specific effects, and this pack supplies no calibrated mapping from those effects to a numeric impact band. Evidence strength reflects the stated provenance and limitations, not the number of sources.

Assessed Dec 2, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    A network client reaches management HTTP routes

    The affected service must be reachable; the requester supplies a local-looking Host header.

    Boundary: network requester -> management listener

  2. 02

    A header is mistaken for locality

    The vulnerable check uses the Host-derived URL rather than the actual client peer.

    Boundary: client-controlled label -> locality decision

  3. 03

    Authentication mode limits the effect

    The reported no-auth test changes the backend configuration. Token mode retains bearer requirements for state changes, while health information has a different boundary.

    Boundary: locality decision -> management action

Claims & evidence

CLM-ENR299-JUPYTER-TAGThe v2.1.3 server.py source contains _is_local_peer using request.client and requires that check in ManagementRouteSecurityMiddleware in addition to Host and Origin handling.supported

Basis: direct observation

  • supports
    Jupyter MCP v2.1.3 server.pypatch commit artifact

    server.py lines 110-156: _is_local_peer and ManagementRouteSecurityMiddleware.dispatch

Link to claim
CLM-DEC02-JUPYTER-HOST-1Jupyter MCP checked a client-controlled Host-derived hostname instead of the TCP peer, permitting a forged localhost value to pass the locality check.supported

Basis: reported finding

Link to claim
CLM-DEC02-JUPYTER-HOST-2The impact differs by mode: no-auth permits backend changes, token mode retains bearer authorization on state changes, and 2.1.3 fixes the issue.supported

Basis: reported finding

Link to claim
CLM-ENR299-JUPYTER-PROXYA proxy that terminates the external connection and connects locally can change the peer visible to the application; correct deployment therefore still depends on the proxy enforcing the intended client boundary.supported

Basis: inference

Link to claim

Implications

Request metadata supplied by a caller cannot establish network provenance; locality and bearer authorization require separate tests.

Controls and mitigations

  • Use the stated fixed release and verify the peer-address check in the deployed artifact.
  • Retain token authorization for state-changing routes and test actual peer, Host and Origin independently across any reverse proxy; do not relax all three checks to solve a connectivity issue.

Unknowns and contradictions

  • No production victim count is established.
  • The difference between advisory display date and CVE publication date is not resolved.
  • Installed binary provenance and proxy-specific enforcement were not independently tested.
  • The advisory and CNA publish different document dates. The reason for the publication interval is not established, and no first exploitation date follows from either field.

Sources and citation

Material revision history

  1. Dec 2, 2026 · Published version · first publication · revision 300