Skip to main content

Jupyter Server EUVDEUVD-2026-27470

| CVE-2026-35397 HIGH
Path Traversal (CWE-22)
2026-05-05 https://github.com/jupyter-server/jupyter_server GHSA-5789-5fc7-67v3
7.6
CVSS 4.0 · Vendor: https://github.com/jupyter-server/jupyter_server
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Jupyter Server
  2. Delivery
    Identify sibling directory with overlapping prefix
  3. Exploit
    Craft URL-encoded traversal request to /api/contents/%2e%2e/[target_dir]/[file]
  4. Execution
    Bypass startswith() validation
  5. Impact
    Read/write/delete files in sibling directory

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires authenticated access to a Jupyter Server instance (PR:L) with valid token or session. Critically requires deployment with sibling directories sharing name prefixes with the attacker's root_dir - specifically multi-tenant environments using predictable naming like sequential user IDs (user1, user2...user10) or scenarios where attackers can choose single-character usernames to maximize overlap. Attack complexity is high (AC:H) because exploitation depends on this specific directory naming pattern; randomly-named or UUID-based directories are not vulnerable. Affects network-accessible deployments (AV:N) where the /api/contents/ endpoint is reachable. Single-tenant deployments or those with non-overlapping directory names (e.g., UUID-based: '3f7a2b1c-user1' vs '8d4e9a3b-user2') are not exploitable despite running vulnerable code versions.

Impact

Real-world risk is HIGH for multi-tenant Jupyter deployments but context-dependent. CVSS 7.1 (AV:N/AC:H/PR:L/UI:N) correctly identifies network attack vector requiring low privileges (authenticated user) with high complexity (specific directory naming collision required). The AC:H rating reflects that exploitation requires predictable sibling directory names sharing a prefix with the attacker's root_dir - not all deployments meet this condition. Impact is severe when conditions align: attackers gain unauthorized read/write/delete access across user boundaries (C:H/I:H/A:L). Publicly available exploit code exists (full PoC by @stef41), lowering exploitation barriers. No EPSS score or CISA KEV status provided, suggesting no confirmed widespread exploitation at time of analysis. Primary risk environments: JupyterHub multi-tenant systems with sequential user naming (user1-userN), educational platforms, or systems allowing user-controlled directory names. Single-tenant or randomly-named directory deployments face minimal practical risk despite the vulnerability's presence. Patch available in version 2.18.0 significantly reduces urgency compared to unpatched vulnerabilities.

Exploit ScenarioDerived

An authenticated user 'user1' on a multi-tenant JupyterHub system sends a crafted POST request to /api/contents/%2e%2e/user10/notebook.ipynb/checkpoints with valid authentication token. The server's flawed startswith() check permits the traversal because 'user10' begins with 'user1'. The attacker successfully reads, modifies, or deletes user10's notebook files, potentially exfiltrating sensitive data models, credentials in code cells, or injecting malicious code into another user's workspace. Publicly available exploit code exists (PoC by @stef41), providing ready-to-use attack tooling requiring only valid credentials and knowledge of target directory names.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 05, 2026

Authenticated users can access, modify, and delete files in sibling directories outside Jupyter Server's configured root_dir by exploiting a flawed string prefix check in path validation (CWE-22). Jupyter Server <=2.17.0 incorrectly uses startswith() validation, allowing attackers to traverse to directories like 'testtest/' when root is 'test/'. Publicly available exploit code exists. This primarily threatens multi-tenant deployments with predictable naming schemes (e.g., user1, user10-user19) where low-privileged users can escalate to access other users' workspaces. CVSS 7.1 reflects network-accessible attack requiring low privileges but high attack complexity; EPSS data not provided but real-world risk is significant for affected multi-tenant environments.

RemediationAI

Upgrade to Jupyter Server version 2.18.0 or later using pip install --upgrade jupyter-server>=2.18.0, as confirmed by vendor advisory GHSA-5789-5fc7-67v3. For systems unable to immediately patch, implement directory naming schemes that eliminate prefix collisions: use UUIDs, random strings, or sufficiently distinct prefixes (e.g., 'workspace_user1' vs 'workspace_user10' instead of 'user1' vs 'user10'). Trade-off: renaming existing directories requires data migration and may break hardcoded paths in notebooks or automation. Additional compensating control: implement filesystem-level permissions ensuring each user's system account can only access their designated root_dir, providing defense-in-depth even if application-level path validation fails (trade-off: increased administrative overhead and potential interference with legitimate cross-user collaboration features). Advisory and patch details: https://github.com/jupyter-server/jupyter_server/security/advisories/GHSA-5789-5fc7-67v3

Affected VersionsENISA

jupyter_server < 2.18.0

Affected Packages

pypi jupyter-server fix: 2.18.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Jupyter Server is a backend web service for Jupyter interactive computing environments, providing RESTful APIs for file management within a configured root_dir. The vulnerability stems from improper path traversal prevention (CWE-22) in the file access validation logic. The server uses Python's string startswith() method to verify paths are within root_dir boundaries, but fails to account for sibling directories sharing the same prefix. For example, if root_dir is '/notebooks/user1/', the check incorrectly permits access to '/notebooks/user10/' because 'user10' starts with 'user1'. The exploit uses URL-encoded parent directory traversal (%2e%2e for '..') via the /api/contents/ endpoint to bypass intended containment. This affects the pip package jupyter-server (pkg:pip/jupyter-server) version 2.17.0 and earlier.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/jupyter-server/jupyter_server) PRIMARY 7.6 HIGH
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
SUSE 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Red Hat 7.1 HIGH

Primary rating from Vendor (https://github.com/jupyter-server/jupyter_server).

CVSS VectorVendor: https://github.com/jupyter-server/jupyter_server

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
May 05, 2026 - 21:02 EUVD
CVSS changed
May 05, 2026 - 20:22 NVD
7.1 (HIGH) 7.6 (HIGH)

DescriptionCVE.org

Summary

Jupyter Server <=2.17.0 can access directories sibling to the root directory, if it starts with the root dir's name.

PoC

Minimal:

.
├── test/              <- root directory.
│   └── test.txt
└── testtest/
    └── secret.txt     <- file to exfiltrate that we should not be able to access via API
bash
HOST="http://localhost:8888"
TOKEN=""
SIBLING="testtest"
TARGET="secret.txt"

curl -s -X POST \
  "$HOST/api/contents/%2e%2e/$SIBLING/$TARGET/checkpoints" \
  -H "Authorization: token $TOKEN"

Full PoC by @stef41: https://gist.github.com/Yann-P/66d4982a965dee8fcb8dd89db29e7006

Impact

It is possible for an authenticated user to access content outside the server's root_dir in siblings directories sharing the same prefix as the root_dir. The attacker can escalate access, reading, writing, and deleting from sibling directories.

This can have a tangible impact for deployments using predictable naming scheme with multi-tenant server, for example user1, user2, user3, ..., user10 etc, as user1 could access and modify files of all user10 - user19 and higher.

In a hypothetical system where users can choose a name of their folder, an attacker could choose a single-letter username to gain access to a significant number of sibling directories.

Workarounds

Use folder names that do not overlap.

Acknowledgments

Thank you to @stef41 for providing a useful PoC.

Executive ViewAI

Why It Matters

CVE-2026-35397 affects Jupyter Server versions ≤2.17.0 and allows authenticated users to bypass directory access controls and access files outside their assigned workspace, potentially exposing other users' data in multi-tenant deployments. Organizations running Jupyter Server in shared environments where users have predictable naming patterns face immediate risk of lateral data access and potential privilege escalation. This vulnerability directly threatens data isolation guarantees critical to multi-tenant SaaS platforms and collaborative research infrastructures.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict Jupyter Server deployments to single-tenant or trusted-user-only configurations; (2) Implement filesystem-level access controls (ACLs) to prevent cross-user directory access independent of application validation; (3) Deploy network segmentation to limit authenticated access to Jupyter instances; (4) Monitor and alert on path traversal patterns in application logs; (5) Consider temporary operational pause of multi-tenant Jupyter Server instances until patched.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
Threat Intel
1
1 source
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Vendor StatusVendor

SUSE

Severity: High
Product Status
openSUSE Tumbleweed Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy