Vulnerability in jupyter-server (CVE-2026-40110)
Summary
Vulnerability in jupyter-server (CVE-2026-40110). Confidential information can be exposed externally. Exploitable via allow_origin_pat. Mitigation: upgrade to 057869a327c46730afede3eab0ca2d2 or later.
Original description
The description as published by the source.
Jupyter Server uses re.match() to validate the Origin header against the allow_origin_pat configuration.
Since re.match() only anchors at the start of the string, an attacker who controls a domain like http://trusted.example.com.evil.com/ passes validation against a pattern intended to match only trusted.example.com.
Impact
<=2.17.0
Patches
057869a327c46730afede3eab0ca2d2e3e74acea, 49b34392feaa97735b3b777e3baf8f22f2a14ed8
Workarounds
Wrap your allow_origin_pat value with ^ and $
References
https://github.com/jupyter-server/jupyter_server/pull/603
https://docs.python.org/3/library/re.html#re.fullmatch
https://docs.python.org/3/library/re.html#re.match
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-40110 has been found in jupyter-server.
Attackers can target a specific entry point like allow_origin_pat over the network to misuse the product.
Confidential information can be exposed externally. CVSS score: 7.3/10.
What to do: upgrade jupyter-server to 057869a327c46730afede3eab0ca2d2 or later.
If unsure, ask your IT team or search "jupyter-server CVE-2026-40110" on the vendor's site.
CVE-2026-40110 (jupyter-server) — CWE-625 / CVSS v3 7.3
Attack vector: remote (network-reachable)
Attack surface: allow_origin_pat / trusted.example.com
Patched: 057869a327c46730afede3eab0ca2d2 — apply immediately
Workaround: Wrap your allow_origin_pat value with ^ and $
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.
A vulnerability (CWE-625) exists in jupyter-server. Attackers reach the vulnerable code path via allow_origin_pat.
Check the vendor advisory for the affected versions of jupyter-server. Attack surface: allow_origin_pat / trusted.example.com.
Severity: High (CVSS 7.3/10). Confidential information can be exposed externally.
Update to 057869a327c46730afede3eab0ca2d2.
Workaround: Wrap your allow_origin_pat value with ^ and $
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
-
1Identify exposure identify
grep -r 'jupyter-server' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
jupyter-serverを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply temporary workaround mitigate
Wrap your `allow_origin_pat` value with `^` and `$`パッチが適用されるまでの応急処置として、Wrap your
allow_origin_patvalue with^and$を実施。回避策の副作用 (機能低下) を確認した上で。 -
3Apply patch patch
Upgrade jupyter-server to 057869a327c46730afede3eab0ca2d2ステージング環境で 057869a327c46730afede3eab0ca2d2 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2026-40110 jupyter-server
- Ubuntu UBUNTU-CVE-2026-40110 jupyter-server
References
- package github.com
- web github.com
- web nvd.nist.gov
- web github.com
- web github.com
- web github.com
- web github.com
- web access.redhat.com
- web bugzilla.redhat.com
- web security.access.redhat.com
- web access.redhat.com
- web github.com