7.6

CVE-2026-40110: jupyter-server CORS origin validation bypass via unanchored regex in allow_origin_pat

Modified
AliasesGHSA-24qx-w28j-9m6pPYSEC-2026-2187UBUNTU-CVE-2026-40110
Published 05-05-2026Last modified 22-07-2026

Vulnerability summary

CVE-2026-40110 is a high (CVSS 7.6) Regular Expression without Anchors vulnerability in jupyter-server jupyter_server. EPSS estimates a 0.32% chance of exploitation in the next 30 days, higher than 26.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.6, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.6/10
010
High · v4.0 (CVE.org)
EPSS score
0.32%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 2

Timeline

  1. 05-05-2026
    PublishedVulnerability first disclosed.
  2. 22-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

10 scores · 7 sources · 2 versions

EPSS trend

Probability

0.32%

Chance of exploitation in the next 30 days

Percentile

27%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.31% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard2 products
  • datahub-ingestion< 1.5.0.4-r0
  • datahub-ingestion-fips< 1.5.0.1-r2
Alpine1 product
  • jupyter-server< 2.18.2-r0
Debian1 product
  • jupyter-serverAll versions (No fix recorded) | < 2.20.0-1
Jupyter1 product
Jupyter-server1 product
PyPI1 product
  • jupyter-server< 2.18.0
Ubuntu1 product
  • jupyter-serverAll versions (No fix recorded)

7 vendors · 8 products

References

16 links
Show all 16 references