Skip to main content
EPSS 0.2%top 90%

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

0
Medium
Published: 06/03/2026 (06/03/2026, 18:33:10 UTC)
Source: CVE Database V5
Vendor/Project: jupyter
Product: jupyter/jupyter

Description

CVE-2026-6657 is a medium severity vulnerability in jupyter-server versions 1.12.0 through 2.17.0 that allows bypassing of CORS origin validation when the allow_origin_pat configuration is used. The issue stems from improper use of re.match() for Origin header validation, which only anchors at the start of the string, enabling attacker-controlled domains that mimic trusted domains to bypass checks. This affects multiple code locations including CORS headers, WebSocket connections, referer validation, and login redirects, potentially leading to phishing, unauthorized access, and arbitrary code execution.

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

Affected software

jupyter

jupyter/jupyter

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/01/2026, 21:31:04 UTC

Technical Analysis

This vulnerability in jupyter-server arises because the allow_origin_pat configuration uses Python's re.match() function to validate the Origin header, which only anchors at the start of the string. Consequently, domains such as trusted.example.com.evil.com can bypass origin validation intended to restrict access to trusted.example.com. The flaw affects various components including CORS headers, WebSocket connections, referer validation, and login redirects. Exploitation could enable attackers to perform phishing attacks, gain unauthorized access to sensitive API responses, and potentially execute arbitrary code. The vulnerability impacts versions 1.12.0 through 2.17.0 of jupyter-server. No official patch or remediation level has been published yet, and no known exploits are reported in the wild.

Potential Impact

An attacker can bypass CORS origin validation, which may allow unauthorized cross-origin requests to the jupyter-server. This can lead to phishing attacks, unauthorized access to sensitive API responses, and potentially arbitrary code execution. The vulnerability compromises the integrity of origin validation mechanisms across multiple components, increasing the risk of unauthorized data exposure and control.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should avoid using the allow_origin_pat configuration or apply strict manual validation of allowed origins. Monitor official jupyter advisories 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

Threat ID: 6a204ceae29bf47b50ca1282

Added to database: 06/03/2026, 15:48:58 UTC

Last enriched: 08/01/2026, 21:31:04 UTC

Last updated: 09/10/2026, 20:54:08 UTC

Views: 180

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