NVD Vulnerability Detail
Search Exploit, PoC
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.
CVSS3.1 : HIGH
スコア 7.3
Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR)
利用者の関与(UI)
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A) なし
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

JVN Vulnerability Information
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.
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.