CVE-2026-40110
published high CVSS 4.0 · 7.6jupyter-server CORS origin validation bypass via unanchored regex in allow_origin_pat
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| jupyter-server | — | jupyter_server<= 2.17.0 | Affected | Not stated | GitHub_M |
| Red Hat | — | mta/mta-solution-server-rhel9Red Hat Migration Toolkit for Applications 8.2 · 1784109883 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
| Alpine Linux | edge | jupyter-server | Fixed | 2.18.2-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-jupyter-serveraarch64 | Advisory build | 2.18.1-1.1 | OPENSUSE-SU-2026:10710-1 |
| Alpine Linux | v3.24 | jupyter-server | Fixed | 2.18.2-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-jupyter-serverppc64le | Advisory build | 2.18.1-1.1 | OPENSUSE-SU-2026:10710-1 |
Show 30 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-jupyter-servers390x | Advisory build | 2.18.1-1.1 | OPENSUSE-SU-2026:10710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-jupyter-serverx86_64 | Advisory build | 2.18.1-1.1 | OPENSUSE-SU-2026:10710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-jupyter-server-testaarch64 | Advisory build | 2.18.1-1.1 | OPENSUSE-SU-2026:10710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-jupyter-server-testppc64le | Advisory build | 2.18.1-1.1 | OPENSUSE-SU-2026:10710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-jupyter-server-tests390x | Advisory build | 2.18.1-1.1 | OPENSUSE-SU-2026:10710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-jupyter-server-testx86_64 | Advisory build | 2.18.1-1.1 | OPENSUSE-SU-2026:10710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-jupyter-serveraarch64 | Advisory build | 2.18.1-1.1 | OPENSUSE-SU-2026:10710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-jupyter-serverppc64le | Advisory build | 2.18.1-1.1 | OPENSUSE-SU-2026:10710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-jupyter-servers390x | Advisory build | 2.18.1-1.1 | OPENSUSE-SU-2026:10710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-jupyter-serverx86_64 | Advisory build | 2.18.1-1.1 | OPENSUSE-SU-2026:10710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-jupyter-server-testaarch64 | Advisory build | 2.18.1-1.1 | OPENSUSE-SU-2026:10710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-jupyter-server-testppc64le | Advisory build | 2.18.1-1.1 | OPENSUSE-SU-2026:10710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-jupyter-server-tests390x | Advisory build | 2.18.1-1.1 | OPENSUSE-SU-2026:10710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-jupyter-server-testx86_64 | Advisory build | 2.18.1-1.1 | OPENSUSE-SU-2026:10710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-jupyter-serveraarch64 | Advisory build | 2.18.1-1.1 | OPENSUSE-SU-2026:10710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-jupyter-serverppc64le | Advisory build | 2.18.1-1.1 | OPENSUSE-SU-2026:10710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-jupyter-servers390x | Advisory build | 2.18.1-1.1 | OPENSUSE-SU-2026:10710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-jupyter-serverx86_64 | Advisory build | 2.18.1-1.1 | OPENSUSE-SU-2026:10710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-jupyter-server-testaarch64 | Advisory build | 2.18.1-1.1 | OPENSUSE-SU-2026:10710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-jupyter-server-testppc64le | Advisory build | 2.18.1-1.1 | OPENSUSE-SU-2026:10710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-jupyter-server-tests390x | Advisory build | 2.18.1-1.1 | OPENSUSE-SU-2026:10710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-jupyter-server-testx86_64 | Advisory build | 2.18.1-1.1 | OPENSUSE-SU-2026:10710-1 |
Description
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.
A flaw was found in Jupyter Server. The Origin header validation, which uses Python's `re.match()` function, does not correctly validate incoming origins against allowed patterns. This allows a remote attacker to bypass Cross-Origin Resource Sharing (CORS) restrictions by crafting a malicious domain that partially matches a trusted one. Consequently, the attacker can make unauthorized cross-origin requests to the Jupyter Server API from an untrusted site, potentially leading to sensitive information disclosure or other unauthorized actions.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:L/SC:L/SI:L/SA:L
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.1 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| jupyter-server | jupyter_server | <= 2.17.0 (affected) | GitHub_M · cna |
| Red Hat | Red Hat Migration Toolkit for Applications 8.2 | 1784109883 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
Weaknesses
2- CWE-777 CWE-777: Regular Expression without Anchors
- CWE-625 Permissive Regular Expression
References
8- https://access.redhat.com/errata/RHSA-2026:43038
- https://access.redhat.com/security/cve/CVE-2026-40110
- RHBZ#2466912 https://bugzilla.redhat.com/show_bug.cgi?id=2466912
- https://github.com/jupyter-server/jupyter_server/commit/057869a327c46730afede3eab0ca2d2e3e74acea
- https://github.com/jupyter-server/jupyter_server/commit/49b34392feaa97735b3b777e3baf8f22f2a14ed8
- https://github.com/jupyter-server/jupyter_server/pull/603
- https://github.com/jupyter-server/jupyter_server/security/advisories/GHSA-24qx-w28j-9m6p
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40110.json
Provider assertions
3GitHub_M · cna
jupyter-server CORS origin validation bypass via unanchored regex in allow_origin_pat
redhat-SADP · adp
jupyter-server: Jupyter Server: Cross-Origin Resource Sharing (CORS) bypass via improper Origin header validation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e31f6d2b044b9f407a1ac8f3db2a4de6cc98c275c5fd036363611ceb77e0d684
- Ingested
- 23 Sep 2026, 09:13:02 UTC
- Source record
- Official CVE record