CVEfocus › CVE database › CVE-2026-35397

CVE-2026-35397jupyter-server path traversal allows access to sibling directories sharing root_dir name…

CVSS 7.6 HighEPSS 0.6% (higher than 51% of CVEs)Published 2026-05-05Updated 2026-08-28Assigner: GitHub_M

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.

CWE-22

What to do

Fixed builds are available from Alpine, Debian, PyPI: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
3Fix pending
3Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10jupyter-serverFix pendingUBUNTU-CVE-2026-35397
Ubuntu 26.04jupyter-serverUnder investigationUBUNTU-CVE-2026-35397
Ubuntu 25.10jupyter-serverWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-35397
Ubuntu 24.04jupyter-serverUnder investigationUBUNTU-CVE-2026-35397
Ubuntu 22.04jupyter-serverUnder investigationUBUNTU-CVE-2026-35397
Debian 14jupyter-serverFixed2.20.0-1DEBIAN-CVE-2026-35397
Debian 13jupyter-serverFix pendingDEBIAN-CVE-2026-35397
Debian 12jupyter-serverFix pendingDEBIAN-CVE-2026-35397
Alpine Linux 3.24jupyter-serverFixed2.18.2-r0ALPINE-CVE-2026-35397
PyPI libraryjupyter-serverFixed2.18.0PYSEC-2026-68

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.