CVE Tools

CVE-2026-40110

jupyter-server CORS origin validation bypass via unanchored regex in allow_origin_pat

Published: May 5, 2026Updated: May 11, 2026 Sources: CVE List NVDCWE-777

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 Vector Breakdown

AV:NAC:LPR:LUI:RS:UC:HI:HA:N
Exploitability
AV:NAttack Vector
Network
AC:LAttack Complexity
Low
PR:LPrivileges Required
Low
UI:RUser Interaction
Required
Scope
S:UScope
Unchanged
Impact
C:HConfidentiality
High
I:HIntegrity
High
A:NAvailability
None

Weaknesses

Affected Products

jupyteross-projectAI / MLaka notebook, jupyter server, jupyterlab
jupyter-serveross-projectUSAI / MLaka jupyter_server, jupyter-scheduler

Exploitability

Official Patch Available

References

and 1 more references View all →

Timeline

Published
May 5, 2026
Last Updated
May 11, 2026

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2026-40110 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows