Path Traversal in jupyter-server
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2026-35397 has been found in jupyter-server.
Attackers can target a specific entry point like root_dir over the network to misuse the product.
Successful exploitation can lead to full system takeover. CVSS score: 8.8/10.
What to do: upgrade jupyter-server to 2.18.0 or later.
If unsure, ask your IT team or search "jupyter-server CVE-2026-35397" on the vendor's site.
CVE-2026-35397 (jupyter-server) — CWE-22 / CVSS v3 8.8
Attack vector: remote (network-reachable) / no user interaction
Attack surface: root_dir / user1 / user2 / user3
Patched: 2.18.0 — apply immediately
Workaround: Use folder names that do not overlap.
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Path traversal (CWE-22) exists in jupyter-server. Attackers reach the vulnerable code path via root_dir.
Check the vendor advisory for the affected versions of jupyter-server. Attack surface: root_dir / user1 / user2 / user3.
Severity: High (CVSS 8.8/10). Successful exploitation can lead to full system takeover.
Update to 2.18.0.
Workaround: Use folder names that do not overlap.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'jupyter-server' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'jupyter-server' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
jupyter-serverを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply temporary workaroundmitigate
Use folder names that do not overlap.パッチが適用されるまでの応急処置として、Use folder names that do not overlap. を実施。回避策の副作用 (機能低下) を確認した上で。
-
3
Apply patchpatch
Upgrade jupyter-server to 2.18.0ステージング環境で 2.18.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| pipjupyter-server |
< 2.18.0→ 2.18.0 |
2.18.0 |
| PyPIjupyter-server |
< 2.18.0→ 2.18.0 |
2.18.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Alpine Linux ALPINE-CVE-2026-35397 jupyter-server Fix available
- Debian DEBIAN-CVE-2026-35397 jupyter-server Fix available
- Ubuntu UBUNTU-CVE-2026-35397 jupyter-server No fixed version in this record
Original description The description as published by the source.
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.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory github.com
- package github.com
- report bugzilla.redhat.com
- web github.com
- web github.com
- web security.access.redhat.com