Project JupyterのJupyter Serverにおけるパストラバーサルの脆弱性
タイトル Project JupyterのJupyter Serverにおけるパストラバーサルの脆弱性
概要

Jupyter ServerはJupyterウェブアプリケーションのバックエンドです。バージョン2.17.0およびそれ以前にはREST APIにパストラバーサルの脆弱性があり、認証済みユーザーが設定されたroot_dirから脱出し、root_dirと同じプレフィックスで始まる兄弟ディレクトリにアクセスできてしまいます。例えば、root_dirが"test"の場合、APIはエンコードされたパスコンポーネントを使用した/api/contentsエンドポイントへの細工されたリクエストを通じて、兄弟ディレクトリ"testtest"へのアクセスを許可します。攻撃者は影響を受ける兄弟ディレクトリ内のファイルを読み書きや削除が可能です。予測可能な命名スキームを使用するマルチテナント環境ではリスクが特に高く、例えば"user1"というディレクトリを持つユーザーが、user10からuser19以降のディレクトリにアクセスできてしまいます。単一文字のフォルダ名を選択できるユーザーは、多数の兄弟ディレクトリにアクセスできる可能性があります。この脆弱性はバージョン2.18.0で修正されています。回避策としては、フォルダ名が兄弟ディレクトリと共通のプレフィックスを持たないようにすることを推奨します。

想定される影響 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
対策

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

公表日 2026年5月5日0:00
登録日 2026年5月11日11:10
最終更新日 2026年5月11日11:10
CVSS3.0 : 重要
スコア 8.8
ベクター CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
影響を受けるシステム
Project Jupyter
Jupyter Server 2.18.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
変更履歴
No 変更内容 変更日
1 [2026年05月11日]
  掲載
2026年5月11日11:10

NVD脆弱性情報
CVE-2026-35397
概要

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.

公表日 2026年5月6日5:16
登録日 2026年5月7日4:07
最終更新日 2026年5月9日4:11
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:jupyter:jupyter_server:*:*:*:*:*:*:*:* 2.18.0
関連情報、対策とツール
共通脆弱性一覧