Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-28179

CVE-2024-28179: Jupyter Server Proxy Auth Bypass Flaw

CVE-2024-28179 is an authentication bypass vulnerability in Jupyter Server Proxy that allows unauthenticated access to websocket endpoints, potentially enabling remote code execution. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: April 8, 2026

CVE-2024-28179 Overview

Jupyter Server Proxy is a popular extension that allows users to run arbitrary external processes alongside their Jupyter notebook servers and provides authenticated web access to these processes. A critical authentication bypass vulnerability exists in versions prior to 3.2.3 and 4.1.1, where the proxy failed to properly check user authentication when handling websocket connections. This flaw allows any attacker with network access to the Jupyter server endpoint to gain unauthenticated access to websocket endpoints configured through Jupyter Server Proxy.

Critical Impact

This vulnerability enables unauthenticated remote access to websocket endpoints, which in many deployments leads to arbitrary code execution due to how affected applications utilize websockets for interactive functionality.

Affected Products

  • Jupyter Server Proxy versions prior to 3.2.3
  • Jupyter Server Proxy versions 4.x prior to 4.1.1

Discovery Timeline

  • 2024-03-20 - CVE-2024-28179 published to NVD
  • 2025-02-21 - Last updated in NVD database

Technical Details for CVE-2024-28179

Vulnerability Analysis

The vulnerability stems from missing authentication enforcement in the websocket handling code within jupyter_server_proxy/handlers.py. While HTTP requests to the proxy were properly authenticated, websocket upgrade requests bypassed this authentication check entirely. This created a significant security gap since many applications proxied through Jupyter Server Proxy rely heavily on websockets for real-time communication, including terminal access and interactive computing environments.

The issue is classified as CWE-306 (Missing Authentication for Critical Function), which accurately describes the nature of the flaw. Websocket connections are particularly sensitive in Jupyter environments because they often provide direct access to shell terminals, code execution environments, and other interactive features that assume authenticated access.

Root Cause

The root cause lies in the ProxyHandler class implementation, which did not implement a prepare() method to enforce authentication before processing websocket upgrade requests. In Tornado (the web framework used by Jupyter), the prepare() method is called before any other handler method, making it the appropriate location to enforce authentication across all request types, including websocket upgrades.

Attack Vector

An attacker with network access to a vulnerable Jupyter Server Proxy instance can establish an unauthenticated websocket connection to any proxied service. The attack requires no user interaction and can be executed remotely over the network. The exploitation path involves:

  1. Identifying a Jupyter Server instance with Server Proxy enabled
  2. Crafting a websocket upgrade request to a proxied endpoint
  3. Bypassing authentication and gaining direct access to the proxied service
  4. Executing commands or accessing data through the websocket connection
python
# Security patch implementing authentication enforcement for websocket requests
# Source: https://github.com/jupyterhub/jupyter-server-proxy/commit/764e499f61a87641916a7a427d4c4b1ac3f321a9

    async def open(self, port, proxied_path):
        raise NotImplementedError("Subclasses of ProxyHandler should implement open")

+    async def prepare(self, *args, **kwargs):
+        """
+        Enforce authentication on *all* requests.
+
+        This method is called *before* any other method for all requests.
+        See https://www.tornadoweb.org/en/stable/web.html#tornado.web.RequestHandler.prepare.
+        """
+        # Due to https://github.com/jupyter-server/jupyter_server/issues/1012,
+        # we can not decorate `prepare` with `@web.authenticated`.
+        # `super().prepare`, which calls `JupyterHandler.prepare`, *must* be called
+        # before `@web.authenticated` can work. Since `@web.authenticated` is a decorator
+        # that relies on the decorated method to get access to request information, we can
+        # not call it directly. Instead, we create an empty lambda that takes a request_handler,
+        # decorate that with web.authenticated, and call the decorated function.
+        # super().prepare became async with jupyter_server v2
+        _prepared = super().prepare(*args, **kwargs)
+        if _prepared is not None:
+            await _prepared
+
+        # If this is a GET request that wants to be upgraded to a websocket, users not
+        # already authenticated gets a straightforward 403. Everything else is dealt
+        # with by `web.authenticated`, which does a 302 to the appropriate login url.
+        # Websockets are purely API calls made by JS rather than a direct user facing page,
+        # so redirects do not make sense for them.
+        if (
+            self.request.method == "GET"
+            and self.request.headers.get("Upgrade", "").lower() == "websocket"

Detection Methods for CVE-2024-28179

Indicators of Compromise

  • Unexpected websocket connections to Jupyter Server Proxy endpoints from external or unauthenticated sources
  • Access logs showing websocket upgrade requests without corresponding authentication tokens or session cookies
  • Unusual command execution patterns or data access through proxied services
  • Connection attempts to proxy endpoints from IP addresses not associated with legitimate users

Detection Strategies

  • Monitor web server access logs for websocket upgrade requests (HTTP header Upgrade: websocket) to Jupyter Server Proxy paths that lack authentication credentials
  • Implement network-level detection for connections to Jupyter ports (typically 8888) that immediately initiate websocket handshakes without prior authentication flows
  • Review Jupyter server logs for connections to proxied services that bypass normal user authentication workflows
  • Deploy web application firewalls configured to detect unauthenticated websocket upgrade attempts

Monitoring Recommendations

  • Enable detailed logging on Jupyter Server instances to capture all connection attempts and authentication states
  • Configure alerting for websocket connections from unexpected IP ranges or during unusual time periods
  • Implement baseline analysis of normal websocket traffic patterns to detect anomalous access attempts
  • Monitor for lateral movement indicators if Jupyter environments have access to sensitive internal resources

How to Mitigate CVE-2024-28179

Immediate Actions Required

  • Upgrade Jupyter Server Proxy to version 3.2.3 or 4.1.1 immediately to address this vulnerability
  • Audit access logs for evidence of exploitation, particularly unauthenticated websocket connections
  • Restrict network access to Jupyter Server instances using firewalls or network segmentation
  • Review and limit which services are exposed through Jupyter Server Proxy to reduce the attack surface

Patch Information

The Jupyter development team has released patched versions that implement proper authentication enforcement for all request types, including websocket upgrades. The fix adds a prepare() method to the ProxyHandler class that enforces authentication before any request handling occurs.

Fixed Versions:

  • Version 3.2.3 for the 3.x branch
  • Version 4.1.1 for the 4.x branch

Patches are available through the standard Python package managers. For detailed technical information, see the GitHub Security Advisory (GHSA-w3vc-fx9p-wp4v).

Workarounds

  • If immediate patching is not possible, restrict network access to Jupyter Server instances to trusted IP ranges only
  • Disable or remove Jupyter Server Proxy extension temporarily if not required for operations
  • Place the Jupyter Server behind an authenticating reverse proxy that enforces authentication on all requests including websocket upgrades
  • Monitor for and block websocket upgrade requests that lack proper authentication headers at the network perimeter
bash
# Upgrade Jupyter Server Proxy to patched version
pip install --upgrade jupyter-server-proxy>=3.2.3

# For 4.x branch users
pip install --upgrade jupyter-server-proxy>=4.1.1

# Verify installed version
pip show jupyter-server-proxy | grep Version

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechJupyter

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.35%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-306
  • Technical References
  • GitHub Code Reference
  • Vendor Resources
  • GitHub Commit Change

  • GitHub Commit Change

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-39377: Jupyter Nbconvert Path Traversal Flaw

  • CVE-2025-30167: Jupyter Core Privilege Escalation Flaw

  • CVE-2024-39700: Jupyter JupyterLab RCE Vulnerability

  • CVE-2025-32428: Jupyter Remote Desktop Proxy RCE Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English