High severity · published May 5, 2026
CVE-2026-35397
jupyter-server path traversal allows access to sibling directories sharing root_dir name prefix
8.8
CVSS
0.6%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 50% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
JU
jupyter_server · jupyter-server
< 2.18.0 · source: vendor
JS
Jupyter Server · Jupyter
before 2.18.0 · source: NVD
RH
Red Hat Migration Toolkit for Applications 8.2 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat OpenShift AI (RHOAI) · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat OpenShift AI 3.4 · Red Hat
All versions, or not specified · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-35397
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-35397
Exploit
https://github.com/jupyter-server/jupyter_server/security/advisories/GHSA-5789-5fc7-67v3
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:43038
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:60520
access.redhat.com
https://access.redhat.com/security/cve/CVE-2026-35397
bugzilla.redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2466858
security.access.redhat.com
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-35397.json
More from jupyter_server
8.8
CVE-2026-114135
Jupyter Server: Gateway WebSocket handler bypasses kernel execute authorization
7.3
CVE-2026-40110
jupyter-server CORS origin validation bypass via unanchored regex in allow_origin_pat
7.1
CVE-2026-86049
Jupyter Server: 5xx request logging leaks token-bearing Referer header values
6.8
CVE-2026-40934
jupyter-server authentication cookies remain valid after password reset due to static cookie secret
6.1
CVE-2025-61669
jupyter_server next parameter open redirect can redirect users to external domains
