Skip to main content

Jupyter Server CVE-2026-40110

| EUVD-2026-27510 HIGH
Regular Expression without Anchors (CWE-777)
2026-05-05 https://github.com/jupyter-server/jupyter_server GHSA-24qx-w28j-9m6p
7.6
CVSS 4.0
Share

CVSS VectorNVD

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
P
Scope
X

Lifecycle Timeline

4
Re-analysis Queued
May 05, 2026 - 22:22 vuln.today
cvss_changed
CVSS changed
May 05, 2026 - 22:22 NVD
7.6 (HIGH)
Source Code Evidence Fetched
May 05, 2026 - 17:31 vuln.today
Analysis Generated
May 05, 2026 - 17:31 vuln.today

DescriptionNVD

Jupyter Server uses re.match() to validate the Origin header against the allow_origin_pat configuration.

Since re.match() only anchors at the start of the string, an attacker who controls a domain like http://trusted.example.com.evil.com/ passes validation against a pattern intended to match only trusted.example.com.

Impact

<=2.17.0

Patches

057869a327c46730afede3eab0ca2d2e3e74acea, 49b34392feaa97735b3b777e3baf8f22f2a14ed8

Workarounds

Wrap your allow_origin_pat value with ^ and $

References

https://github.com/jupyter-server/jupyter_server/pull/603 https://docs.python.org/3/library/re.html#re.fullmatch https://docs.python.org/3/library/re.html#re.match

AnalysisAI

Cross-Origin Resource Sharing (CORS) bypass in Jupyter Server <= 2.17.0 allows attackers controlling malicious subdomains to bypass origin validation and access sensitive notebook data. The vulnerability stems from incorrect use of Python's re.match() function in the allow_origin_pat configuration, which only anchors at the start of strings. …

Sign in for full analysis, threat intelligence, and remediation guidance.

RemediationAI

Within 24 hours: Identify all Jupyter Server instances running version 2.17.0 or earlier in your environment using asset inventory and vulnerability scanning tools. Within 7 days: Upgrade all affected Jupyter Server instances to version 2.18.0 or later. …

Sign in for detailed remediation steps.

Vendor StatusVendor

Share

CVE-2026-40110 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy