PT-2026-37234 · Project Jupyter · Jupyter Server
Vnykmshr
·
Published
2026-05-05
·
Updated
2026-05-11
·
CVE-2026-40110
CVSS v4.0
7.6
High
| Vector | AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:L/SC:L/SI:L/SA:L |
Name of the Vulnerable Software and Affected Versions
Jupyter Server versions prior to 2.18.0
Description
Origin header validation uses the
re.match() function 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 for a trusted domain will also match any origin that begins with that domain followed by additional characters. This allows an attacker controlling such a domain to bypass Cross-Origin Resource Sharing (CORS) restrictions and make cross-origin requests to the Jupyter Server API from an untrusted site.Recommendations
Update to version 2.18.0.
Wrap the
allow origin pat value with ^ and $ to ensure a full string match.Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Jupyter Server