Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-114135 Overview
CVE-2026-114135 is an authorization bypass vulnerability in Jupyter Server, the backend for Jupyter web applications. The flaw affects versions 2.0.0 through 2.5.x when GatewayClient.url is enabled. Under this configuration, the server replaces KernelWebsocketHandler with WebSocketChannelsHandler, which authenticates users but fails to invoke authorizer.is_authorized(...) for the execute action on the kernels resource. A restricted authenticated user can open an upstream kernel channel and obtain kernel execution despite an Authorizer configured to deny that action. The weakness is classified as Missing Authorization [CWE-862].
Critical Impact
An authenticated low-privilege user can bypass the configured Authorizer to execute code on gateway-connected kernels, exposing data and credentials and permitting modification or disruption of the kernel environment.
Affected Products
- Jupyter Server versions 2.0.0 through 2.5.x with GatewayClient.url enabled
- Jupyter Server 2.6.0 and later when the deprecated jupyter_server.gateway.handlers module is manually registered
- Deployments relying on a custom Authorizer to restrict kernel execution
Discovery Timeline
- 2026-10-21 - CVE CVE-2026-114135 published to NVD
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-114135
Vulnerability Analysis
Jupyter Server supports delegating kernel management to an external Jupyter Kernel Gateway through the GatewayClient.url setting. When this configuration is active, request routing swaps the standard KernelWebsocketHandler for WebSocketChannelsHandler defined in jupyter_server.gateway.handlers. The gateway handler verifies that the WebSocket caller is authenticated, but it does not consult the configured Authorizer before brokering the upstream kernel connection. As a result, authorization policy that would otherwise block the execute action on the kernels resource is silently skipped. Once connected, the user can issue execute requests directly to the kernel, read any data or credentials present in the kernel process, and modify or terminate the kernel environment.
Root Cause
The root cause is a missing authorization check [CWE-862]. The gateway WebSocket handler implemented authentication but omitted the authorizer.is_authorized(user, action="execute", resource="kernels") decision that the standard handler enforces. The default gateway path is fixed in 2.6.0 by merging the gateway handlers into the standard handlers, so the standard authorization logic is applied uniformly.
Attack Vector
Exploitation requires network access to a Jupyter Server instance configured with GatewayClient.url and valid credentials for any authenticated account, even one that an administrator has restricted via a custom Authorizer. The attacker opens the kernel channels WebSocket endpoint, which is accepted because the gateway handler never calls the Authorizer. The attacker then sends execute_request messages over the channel and receives execution results, effectively obtaining the privileges of the kernel process.
# Security patch excerpt in jupyter_server/gateway/handlers.py
# Source: https://github.com/jupyter-server/jupyter_server/commit/35ffe5d435682128da16dc144a8e9e9f8fa85dd8
import mimetypes
import os
import random
+import warnings
from typing import Optional, cast
from jupyter_client.session import Session
The fix merges the deprecated gateway handlers into the standard handler pipeline, so the configured Authorizer is consulted for the execute action on the kernels resource. See the GitHub Security Advisory GHSA-354v-3q48-cv69 and the pull request discussion for full details.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-114135
Indicators of Compromise
- WebSocket connections to /api/kernels/<kernel_id>/channels from accounts that lack the execute authorization on the kernels resource.
- Kernel execution activity attributable to users whose role in the configured Authorizer policy should deny code execution.
- Unexpected outbound network connections or credential access originating from kernel processes tied to restricted users.
Detection Strategies
- Review Jupyter Server access logs for GET upgrade requests to the kernel channels endpoint and correlate the authenticated user against the Authorizer policy.
- Enable debug or audit logging around jupyter_server.gateway.handlers.WebSocketChannelsHandler to record which users open kernel sessions.
- Compare the inventory of installed Jupyter Server versions across hosts to identify instances running 2.0.0–2.5.x with GatewayClient.url configured.
Monitoring Recommendations
- Alert on kernel execution events generated by accounts tagged as read-only or restricted in the Authorizer configuration.
- Monitor the Jupyter Kernel Gateway for new kernel allocations initiated by Jupyter Server shortly after a restricted user authenticates.
- Track configuration changes that register the deprecated jupyter_server.gateway.handlers module in 2.6.0+ deployments.
How to Mitigate CVE-2026-114135
Immediate Actions Required
- Upgrade Jupyter Server to version 2.6.0 or later and avoid manually registering the deprecated jupyter_server.gateway.handlers module.
- Audit all deployments with GatewayClient.url configured and inventory any custom handler registrations that may reintroduce the gateway handler.
- Rotate any credentials, tokens, or secrets accessible to kernels that may have been reached by restricted users.
Patch Information
The fix is included in Jupyter Server v2.6.0 via the merge of gateway handlers into the standard handlers delivered in pull request #1261. Full advisory details are in GHSA-354v-3q48-cv69.
Workarounds
- Disable GatewayClient.url where feasible until the upgrade is applied, forcing Jupyter Server to use the standard KernelWebsocketHandler that enforces authorization.
- Restrict network access to Jupyter Server so that only trusted, fully privileged users can authenticate while the gateway handler is in use.
- Remove any explicit registration of jupyter_server.gateway.handlers in server configuration or extension code on 2.6.0+ installs.
# Upgrade Jupyter Server to the patched release
pip install --upgrade "jupyter_server>=2.6.0"
# Verify the installed version
python -c "import jupyter_server; print(jupyter_server.__version__)"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

