{"id":"CVE-2026-6657","published":"2026-06-03T15:06:56Z","modified":"2026-06-03T17:25:20Z","title":"CORS Origin Validation Bypass in jupyter-server","vendor":"jupyter","product":"jupyter/jupyter","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.05213,"percentile":0.92694,"provenance":"source"},"cwes":[{"id":"CWE-346","name":"Origin Validation Error"}],"references":[{"url":"https://huntr.com/bounties/18f642db-3569-43b3-b58d-ff97be4b09d7","tags":[]}],"priority":{"score":22.8,"factors":[{"name":"EPSS percentile","points":18.54},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"jupyter","affectedVersions":[{"vendor":"jupyter","product":"jupyter/jupyter","versions":[">= unspecified, <= latest"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-03T17:24:16.863193Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"jupyter-server","vulnerableRanges":[">=1.12.0, <=2.17.0"],"patched":[],"from":["PYSEC-2026-3472"],"provenance":"source"}],"summary":{"text":"The flaw is a CORS origin validation bypass in the jupyter-server component of the Jupyter project's jupyter/jupyter product, affecting versions 1.12.0 through 2.17.0 when the allow_origin_pat configuration is used. Origin headers are checked with a start-anchored pattern match, so an attacker-controlled domain such as one that begins with a trusted hostname can pass validation, and an attacker can exploit this over the network with low complexity, no authentication, and user interaction, such as a victim visiting a malicious page.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:42:13Z"},"euvd":{"id":"EUVD-2026-34104","exploited":false,"provenance":"source"}}