Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-40110
Published:May 05, 2026
Updated:May 14, 2026
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.
Affected Packages
jupyter_server (CONDA):
Affected version(s) >=0.0.0 <2.18.0
Fix Suggestion:
Update to version 2.18.0
https://github.com/jupyter-server/jupyter_server.git (GITHUB):
Affected version(s) >=v1.6.2 <v2.18.0
Fix Suggestion:
Update to version v2.18.0
jupyter-server (PYTHON):
Affected version(s) >=0.0.0 <2.18.0
Fix Suggestion:
Update to version 2.18.0
jupyter_server (PYTHON):
Affected version(s) >=0.0.0 <2.18.0
Fix Suggestion:
Update to version 2.18.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
7.6
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
LOW
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
LOW
CVSS v3
Base Score:
9.6
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
LOW
Weakness Type (CWE)
Regular Expression without Anchors
EPSS
Base Score:
0.03