Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-6657: CWE-346 Origin Validation Error in jupyter jupyter/jupyter

0
Medium
VulnerabilityCVE-2026-6657cvecve-2026-6657cwe-346
Published: Wed Jun 03 2026 (06/03/2026, 15:06:56 UTC)
Source: CVE Database V5
Vendor/Project: jupyter
Product: jupyter/jupyter

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.

CVSS v3.0

Score 6.1medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/03/2026, 16:05:28 UTC

Technical Analysis

The vulnerability in jupyter-server arises from the use of Python's re.match() function to validate the Origin header against allow_origin_pat patterns. Because re.match() anchors only at the start of the string, domains such as trusted.example.com.evil.com can bypass validation intended for trusted.example.com. This origin validation bypass affects CORS headers, WebSocket connections, referer validation, and login redirects, potentially enabling attackers to perform phishing attacks, gain unauthorized access to sensitive API responses, and execute arbitrary code. The vulnerability affects versions 1.12.0 through 2.17.0 of jupyter-server. The CVSS v3.0 score is 6.1 (medium severity), reflecting network attack vector, low attack complexity, no privileges required, user interaction required, scope changed, and low confidentiality and integrity impact. No vendor advisory or patch information is currently available.

Potential Impact

Successful exploitation can allow attackers to bypass CORS origin validation, leading to unauthorized access to sensitive API responses, phishing attacks, and potentially arbitrary code execution. The vulnerability affects multiple components handling origin validation, increasing the risk of unauthorized actions within affected jupyter-server instances.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider disabling or avoiding use of the allow_origin_pat configuration or apply additional manual validation controls if feasible. Monitor official jupyter project channels for updates and patches addressing this issue.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
@huntr_ai
Date Reserved
2026-04-20T08:13:54.544Z
Cvss Version
3.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a204ceae29bf47b50ca1282

Added to database: 6/3/2026, 3:48:58 PM

Last enriched: 6/3/2026, 4:05:28 PM

Last updated: 6/4/2026, 5:00:41 AM

Views: 13

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses