Bug 2484420 (CVE-2026-6657) - CVE-2026-6657 jupyter-server: jupyter-server: Arbitrary code execution due to CORS origin validation bypass
Summary: CVE-2026-6657 jupyter-server: jupyter-server: Arbitrary code execution due to...
Keywords:
Status: NEW
Alias: CVE-2026-6657
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2485373 2485374
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-03 16:01 UTC by OSIDB Bzimport
Modified: 2026-06-05 07:27 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-03 16:01:48 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.