Vulnerability 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-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
-
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
Wrap your `allow_origin_pat` value with `^` and `$`パッチが適用されるまでの応急処置として、Wrap your
allow_origin_patvalue with^and$を実施。回避策の副作用 (機能低下) を確認した上で。 -
3
Apply patchpatch
Upgrade jupyter-server to 057869a327c46730afede3eab0ca2d2ステージング環境で 057869a327c46730afede3eab0ca2d2 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
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-40110 jupyter-server Fix available
- Debian DEBIAN-CVE-2026-40110 jupyter-server Fix available
- Ubuntu UBUNTU-CVE-2026-40110 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, 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.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory access.redhat.com
- advisory access.redhat.com
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- patch github.com
- report bugzilla.redhat.com
- web github.com
- web security.access.redhat.com
- web github.com