製品・ソフトウェアに関する情報
Project JupyterのJupyter Serverにおけるアンカーのない正規表現に関する脆弱性
Title Project JupyterのJupyter Serverにおけるアンカーのない正規表現に関する脆弱性
Summary

Jupyter ServerはJupyterウェブアプリケーションのバックエンドです。バージョン2.17.0以前では、Originヘッダーの検証にPythonのre.match()を使用して、allow_origin_pat設定値と照合していました。しかしre.match()は文字列の先頭のみをアンカーとして完全一致を要求しないため、信頼されたドメイン(例:trusted.example.com)のみをマッチさせるつもりのパターンでも、そのドメインで始まり追加の文字列が続く起源(例:trusted.example.com.evil.com)にもマッチしてしまいます。攻撃者がそのようなドメインを制御している場合、CORSの起源制限を回避して、信頼されていないサイトからJupyter Server APIへのクロスオリジンリクエストを行うことが可能になります。この問題はバージョン2.18.0で修正されました。

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

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

Publication Date May 5, 2026, midnight
Registration Date May 12, 2026, 10:19 a.m.
Last Update May 12, 2026, 10:19 a.m.
CVSS3.0 : 重要
Score 7.3
Vector CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Affected System
Project Jupyter
Jupyter Server 2.18.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年05月12日]
  掲載
May 12, 2026, 10:19 a.m.

NVD Vulnerability Information
CVE-2026-40110
Summary

Jupyter Server is the backend for Jupyter web applications. In versions 2.17.0 and earlier, the Origin header validation uses Python's re.match() to check incoming origins against the allow_origin_pat configuration value. Because re.match() only anchors at the start of the string and does not require a full match, a pattern intended to match only a trusted domain (e.g., trusted.example.com) will also match any origin that begins with that domain followed by additional characters (e.g., trusted.example.com.evil.com). An attacker who controls such a domain can bypass the CORS origin restriction and make cross-origin requests to the Jupyter Server API from an untrusted site. This issue has been fixed in version 2.18.0.

Publication Date May 6, 2026, 7:16 a.m.
Registration Date May 7, 2026, 4:07 a.m.
Last Update May 11, 2026, 9:59 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:jupyter:jupyter_server:*:*:*:*:*:*:*:* 2.18.0
Related information, measures and tools
Common Vulnerabilities List