CVE-2026-35397
HIGH 7.6CVSS 4.0Jupyter Server: Path Traversal via incorrect startswith() root directory check allows access to sibling directories
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.
- Published
- 5 May 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-5789-5fc7-67v3PYSEC-2026-68
- Sources
- NVDJSONOSV GHSA-5789-5fc7-67v3JSONOSV PYSEC-2026-68JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 7.6 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jupyter | jupyter_servercpe:2.3:a:jupyter:jupyter_server:*:*:*:*:*:*:*:* |
< 2.18.0 | 2.18.0 |
| OSV | PyPI | jupyter-server | < 2.18.0 | 2.18.0 |
References
- https://github.com/jupyter-server/jupyter_server/security/advisories/GHSA-5789-5fc7-67v3 · Exploit, Vendor Advisory, WEB, EVIDENCE
- https://access.redhat.com/errata/RHSA-2026:43038 · WEB
- https://access.redhat.com/errata/RHSA-2026:60520 · WEB
- https://access.redhat.com/security/cve/CVE-2026-35397 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2466858 · WEB
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-35397.json · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-35397 · ADVISORY
- https://github.com/jupyter-server/jupyter_server · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/jupyter-server/PYSEC-2026-68.yaml · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 5 May 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 5 May 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 May 2026)