The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-2026-35397

CVE-2026-35397: Jupyter Server Path Traversal Flaw

CVE-2026-35397 is a path traversal vulnerability in Jupyter Server that allows authenticated users to escape root_dir and access sibling directories. This article covers technical details, affected versions, and mitigation.

Published: May 7, 2026

CVE-2026-35397 Overview

CVE-2026-35397 is a path traversal vulnerability [CWE-22] in Jupyter Server, the backend that powers Jupyter web applications. The flaw affects versions 2.17.0 and earlier. An authenticated user can escape the configured root_dir and reach sibling directories whose names share a common prefix with the configured root. The /api/contents REST endpoint accepts crafted requests with encoded path components, allowing read, write, and delete operations on those sibling directories. Multi-tenant deployments using predictable naming schemes face the highest exposure, since a user with a directory named user1 can reach user10 through user19. Jupyter Server 2.18.0 contains the fix.

Critical Impact

Authenticated users can read, write, and delete arbitrary files in sibling directories sharing a name prefix with their configured root, breaking tenant isolation in shared Jupyter deployments.

Affected Products

  • Jupyter Server versions 2.17.0 and earlier
  • Multi-tenant Jupyter deployments using predictable per-user directory naming
  • Jupyter web application stacks that depend on Jupyter Server as their backend

Discovery Timeline

  • 2026-05-05 - CVE-2026-35397 published to NVD
  • 2026-05-07 - Last updated in NVD database

Technical Details for CVE-2026-35397

Vulnerability Analysis

The vulnerability resides in the /api/contents REST API of Jupyter Server. The contents handler validates requested paths against the configured root_dir using a prefix comparison rather than a strict directory boundary check. An attacker submits a request with encoded path components that, after decoding, resolve to a sibling path on disk whose name starts with the same characters as root_dir. The server treats the resolved path as in-scope and serves the request. The result is full file-level access — read, write, and delete — across any sibling directory matching the prefix. Jupyter Server 2.18.0 introduces a corrected boundary check that requires a path separator after the root prefix.

Root Cause

The root cause is improper path containment enforcement [CWE-22]. The code compares resolved paths to root_dir using a string-prefix match instead of verifying that the resolved path is a true descendant of the root directory. Any sibling directory whose name begins with the root_dir value satisfies the check.

Attack Vector

Exploitation requires network reachability to the Jupyter Server REST API and a valid authenticated session (PR:L). The attacker issues HTTP requests to /api/contents containing URL-encoded path segments that resolve outside the intended root. With a root_dir of test, requests targeting testtest succeed. In multi-tenant setups, a user provisioned with a single-character directory such as a can reach every sibling beginning with a. No user interaction is needed.

No public proof-of-concept code is available. See the GitHub Security Advisory GHSA-5789-5fc7-67v3 for technical details.

Detection Methods for CVE-2026-35397

Indicators of Compromise

  • HTTP requests to /api/contents/ containing URL-encoded path separators such as %2F or .. sequences in path segments.
  • Access to file paths whose first component shares a prefix with another tenant's root_dir but is not an exact match.
  • Unexpected PUT, POST, or DELETE operations from one user's session targeting files outside their assigned workspace.

Detection Strategies

  • Parse Jupyter Server access logs and alert on /api/contents requests where the resolved filesystem path leaves the user's authorized root_dir.
  • Correlate authenticated user identity with the directory prefix of accessed resources to flag cross-tenant access patterns.
  • Inspect application logs for 4xx/5xx responses on /api/contents that may indicate enumeration of sibling directories.

Monitoring Recommendations

  • Enable verbose request logging on Jupyter Server and forward logs to a centralized analytics platform for long-term retention.
  • Establish baselines for per-user file operation volume and alert on deviations indicating directory enumeration.
  • Monitor filesystem audit events (auditd, fanotify) on hosts running Jupyter Server for writes to directories outside the expected per-user roots.

How to Mitigate CVE-2026-35397

Immediate Actions Required

  • Upgrade Jupyter Server to version 2.18.0 or later on every host running the backend.
  • Audit existing tenant directory layouts for shared name prefixes and rename any folders that collide with another tenant's root.
  • Review access logs for prior /api/contents requests that resolved outside the intended root_dir.

Patch Information

The Jupyter Server maintainers fixed the path containment check in version 2.18.0. Refer to the GitHub Security Advisory GHSA-5789-5fc7-67v3 for release notes and the corresponding code change.

Workarounds

  • Ensure no folder name shares a common prefix with any sibling directory on the host filesystem.
  • Avoid single-character or short tenant directory names; use unique, non-overlapping identifiers such as UUIDs.
  • Place each tenant's root_dir inside its own parent directory so siblings of the root are controlled by the operator, not other tenants.
bash
# Configuration example: upgrade and isolate tenant roots
pip install --upgrade 'jupyter_server>=2.18.0'

# Recommended directory layout (each tenant isolated under its own parent)
# /srv/jupyter/tenants/<uuid>/workspace
mkdir -p /srv/jupyter/tenants/$(uuidgen)/workspace
jupyter server --ServerApp.root_dir=/srv/jupyter/tenants/<uuid>/workspace

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechJupyter Server

  • SeverityHIGH

  • CVSS Score7.6

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2025-61669: Jupyter Server Redirect Vulnerability
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