Skip to content
OpenAdvisories
High · 7.6 Public exploit CVE-2026-35397 EUVD-2026-27470GHSA-5789-5fc7-67v3PYSEC-2026-68

jupyter-server path traversal allows access to sibling directories sharing root_dir name prefix

Published May 5, 2026 · Updated Aug 28, 2026 · Assigned by GitHub_M

Description

Jupyter Server is the backend for Jupyter web applications. In versions 2.17.0 and earlier, a path traversal vulnerability in the REST API allows an authenticated user to escape the configured root_dir and access sibling directories whose names begin with the same prefix as the root_dir. For example, with a root_dir named "test", the API permits access to a sibling directory named "testtest" through a crafted request to the /api/contents endpoint using encoded path components. An attacker can read, write, and delete files in affected sibling directories. Multi-tenant deployments using predictable naming schemes are particularly at risk, as a user with a directory named "user1" could access directories for user10 through user19 and beyond. A user who can choose a single-character folder name could gain access to a significant number of sibling directories.

Version 2.18.0 contains a fix. As a workaround, ensure folder names do not share a common prefix with any sibling directory.

Affected products

VendorProductAffectedFixed
jupyter-server jupyter_server < 2.18.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 jupyter-server 2.20.0-1 —
Debian 13 jupyter-server No fix yet —
Debian 12 jupyter-server No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 jupyter-server No fix yet —
Ubuntu 26.04 LTS jupyter-server No fix yet —
Ubuntu 25.10 jupyter-server No fix yet —
Ubuntu 24.04 LTS jupyter-server No fix yet —
Ubuntu 22.04 LTS jupyter-server No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-jupyter-server 2.18.1-1.1 openSUSE-SU-2026:10710-1
ReleasePackageFixed inAdvisory
Alpine v3.24 jupyter-server 2.18.2-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI jupyter-server < 2.18.0 2.18.0 GHSA-5789-5fc7-67v3

Advisories 1

References