Jupyter Server has a CORS Origin Validation Bypass via `re.match()` in `allow_origin_pat`
CVE-2026-40110 · GHSA-24qx-w28j-9m6p · published 2026-05-05 · updated 2026-07-31
- Severity
- High
- CVSS score
- 7.6
- Chance of exploitation (EPSS)
- 0.31%
- Fixed in
- 2.18.0
- Exploitation No known exploitation
- Automatable No
- Technical impact Total
- CISA SSVC
Jupyter Server has a CORS Origin Validation Bypass via `re.match()` in `allow_origin_pat`. The source advisory has the full description.
Upgrade jupyter-server to 2.18.0 or later.
057869a327c46730afede3eab0ca2d2e3e74acea, 49b34392feaa97735b3b777e3baf8f22f2a14ed8
Wrap your allow_origin_pat value with ^ and $
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| jupyter-server | PyPI | <= 2.17.0 | 2.18.0 |
- CriticalLiteLLM has SQL Injection in Proxy API key verificationlitellmExploited
- Criticaln8n Vulnerable to Remote Code Execution via Expression Injectionn8n, n8nExploited
- HighLiteLLM has a sandbox escape in custom-code guardraillitellmExploited
- HighLangflow affected by Remote Code Execution via validate_code() exec()langflowExploited
- CriticalJupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routesjupyter-mcp-server
- Criticalmem0ai Databricks vector store vulnerable to SQL injectionmem0ai
- CriticalJupyter Server: Stored XSS in `NbconvertFileHandler` / `NbconvertPostHandler` via missing `sandbox` CSPjupyter-server
- HighJupyter Server: Gateway WebSocket handler bypasses kernel execute authorizationjupyter-server
- HighJupyter Server: Path Traversal via incorrect startswith() root directory check allows access to sibling directoriesjupyter-server
- HighJupyter Server's Authentication Cookies Remain Valid After Password Reset and Server Restartjupyter-server
- HighJupyter server Token bruteforcingjupyter-server, jupyter-server
- HighInsertion of Sensitive Information into Log File in Jupyter notebookjupyter-server
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.