CVE-2026-6657: Jupyter-server - CORS Misconfiguration
- Cve: CVE-2026-6657
- Name: Jupyter-server - CORS Misconfiguration
- Description: A vulnerability in jupyter-server versions 1.12.0 through 2.17.0 allows an attacker to bypass CORS origin validation when the `allow_origin_pat` configuration is used. The issue arises from the use of `re.match()` for validating the `Origin` header, which only anchors at the start of the string. This allows attacker-controlled domains such as `trusted.example.com.evil.com` to pass validation against patterns intended to match `trusted.example.com`. The vulnerability affects multiple locations in the codebase, including CORS headers, WebSocket connections, referer validation, and login redirects, potentially enabling phishing attacks, arbitrary code execution, and unauthorized access to sensitive API responses.
- Impact: Attackers can bypass CORS validation to perform phishing, execute arbitrary code, or access sensitive API responses.
- Remediation: Update to a version later than 2.17.0 or the latest available version.
- Vulnerability type: cors_misconfiguration
- Vulnerability impact: remote_code_execution, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.05213
- Epss percentile: 0.92703
- Assignee: [email protected]
- Published at: 2026-06-03T16:16:31Z
- Age in days: 174
- Modified at: 2026-07-21T19:10:00Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-6657
- Nvd status: analyzed
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-346 | Origin Validation Error |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://huntr.com/bounties/18f642db-3569-43b3-b58d-ff97be4b09d7 | nvd | 2026-06-03 |
References
| Url | Source | Tags |
|---|---|---|
| https://huntr.com/bounties/18f642db-3569-43b3-b58d-ff97be4b09d7 | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| jupyter:jupyter_server | >= 1.12.0, <= 2.17.0 | no | nvd | /v1/products/jupyter/jupyter_server |
Index
- Repositories: 165
- Repositories high signal: 88
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-06-03
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts