Unauthenticated WebSocket Proxying in Jupyter Server Proxy

jupyter-server-proxy Updated 02 Oct 2025

Summary

20/03/2024
Yes i
Critical
9.0

CVE-2024-28179: Jupyter Server Proxy's Websocket Proxying does not require authentication. Affects jupyter-server-proxy across 2 version ranges.

< 3.2.3 >= 4.0.0, < 4.1.1

Fixed in 3.2.3 or 4.1.1, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Jupyter Server Proxy is a package used to expose ports local to a Jupyter server to authenticated users by proxying web requests and websockets. It is commonly used in hosted environments, such as JupyterHub, to expose interactive applications and APIs to users. The vulnerability in Jupyter Server Proxy allows unauthenticated remote access to websocket endpoints, potentially leading to remote unauthenticated arbitrary code execution. This vulnerability affects the jupyter-server-proxy package.

Vulnerability Detail

The vulnerability in Jupyter Server Proxy arises from a lack of appropriate user authentication when proxying websockets. This allows anyone with network access to the Jupyter server endpoint to gain unauthenticated remote access to any websocket endpoint exposed via Jupyter Server Proxy. Applications that rely on websockets, such as RStudio or remote Linux Desktop/VNC, are particularly vulnerable to remote unauthenticated arbitrary code execution. The vulnerability does not affect websocket endpoints exposed by Jupyter Server itself or projects that do not rely on websockets.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 3.2.3 3.2.3
    pip install --upgrade "jupyter-server-proxy==3.2.3"
  • >= 4.0.0, < 4.1.1 4.1.1
    pip install --upgrade "jupyter-server-proxy==4.1.1"

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

The unauthenticated WebSocket proxying vulnerability in Jupyter Server Proxy allows remote unauthenticated access to websocket endpoints, potentially leading to arbitrary code execution. It is crucial to upgrade to a patched version of jupyter-server-proxy and restart any running Jupyter server to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for jupyter-server-proxy →

Share this vulnerability

FAQ

Jupyter Server Proxy is a package used to expose ports local to a Jupyter server to authenticated users by proxying web requests and websockets. It is commonly used in hosted environments, such as JupyterHub, to expose interactive applications and APIs to users.

The vulnerability allows unauthenticated remote access to websocket endpoints exposed via Jupyter Server Proxy. This can lead to remote unauthenticated arbitrary code execution, particularly in applications that rely on websockets.

Versions 0.0.1 to 3.2.2 and versions 4.0.0 and 4.1.0 of jupyter-server-proxy are affected by this vulnerability.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert uses Pipfile.lock to monitor and alert in real-time for open-source vulnerabilities without requiring access to the code or installation.

To fix the vulnerability, upgrade the jupyter-server-proxy package to a patched version (3.2.3 or above, excluding versions 4.0.0 and 4.1.0) and restart any running Jupyter server. Additionally, ensure that any dependent packages are also updated to non-vulnerable versions.

Related vulnerabilities

Recent vulnerabilities recorded for jupyter-server-proxy.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 3.2.3 3.2.3
    pip install --upgrade "jupyter-server-proxy==3.2.3"
  • >= 4.0.0, < 4.1.1 4.1.1
    pip install --upgrade "jupyter-server-proxy==4.1.1"

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback