Skip to main content
VulnerabilityPublished Updated

CVE-2026-40110: jupyter_server · Regular Expression Without Anchors

Affects jupyter_serverSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.6 High · fixed in 2.18.0 : patch jupyter_server soon.

Data as of 2 Nov 2026, 22:58 UTC

CVSS 4.0 base score
7.6High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 24% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.18.0
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
jupyter-serverjupyter_serverAffected
  • <=2.17.0
Fixed in–
PyPIjupyter-serverpkg:pypi/jupyter-serverOther threatsAffected
  • <=2.17.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in Jupyter Server version 2.18.0. Users should upgrade to version 2.18.0 or later to resolve this vulnerability. Until upgraded, carefully review and restrict the allow_origin_pat configuration to avoid patterns that can be partially matched. Patch status is confirmed fixed in 2.18.0 as per the CVE description and vendor advisory.

Description

Jupyter Server versions 2.17.0 and earlier contain a vulnerability in the Origin header validation logic. The server uses Python's re.match() function with a pattern that is not fully anchored, allowing origins that start with a trusted domain but have additional characters appended to bypass CORS restrictions. This enables an attacker controlling such a domain to make unauthorized cross-origin requests to the Jupyter Server API. The issue is fixed in version 2.18.0.

References

Community reviews

Loading reviews…