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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | jupyter-server | 2.20.0-1 | — |
| Debian 13 | jupyter-server | No fix yet | — |
| Debian 12 | jupyter-server | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-jupyter-server | 2.18.1-1.1 | openSUSE-SU-2026:10710-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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.
GitHub 1 repository
-
HiteshGorana/susvibes-jupyter-server-cve-2026-35397 ★ 0 · May 8, 2026
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | jupyter-server | < 2.18.0 | 2.18.0 | GHSA-5789-5fc7-67v3 |
Advisories 1
- openSUSE-SU-2026:10710-1 python311-jupyter-server-2.18.1-1.1 on GA media SUSE / openSUSE Security Updates · May 7, 2026