CVE-2026-6657: CORS Origin Validation Bypass in jupyter-server

Published Jun 3, 2026
·
Updated

A vulnerability in jupyter-server versions 1.12.0 through 2.17.0 allows an attacker to bypass CORS origin validation when the alloworiginpat 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.

Affected Software

2 affected components
pypi/jupyter-server>=1.12.0<=2.17.0
jupyter Jupyter Server>=1.12.0<=2.17.0

Event History

Jun 3, 2026
CVE Published
via MITRE·03:06 PM
Data Sourced
via MITRE·03:06 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-6657?

The severity of CVE-2026-6657 is medium, with a score of 6.1.

2

How can I fix CVE-2026-6657?

To fix CVE-2026-6657, upgrade jupyter-server to a version newer than 2.17.0.

3

What is CVE-2026-6657?

CVE-2026-6657 is a vulnerability in jupyter-server that allows an attacker to bypass CORS origin validation due to improper handling of the `Origin` header.

4

Which versions of jupyter-server are affected by CVE-2026-6657?

CVE-2026-6657 affects jupyter-server versions 1.12.0 through 2.17.0.

5

What does CORS Origin Validation Bypass mean in the context of CVE-2026-6657?

CORS Origin Validation Bypass in CVE-2026-6657 means that an attacker can manipulate requests to bypass security checks on allowed origins.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
CVE-2026-6657 - CORS Origin Validation Bypass in jupyter-server - SecAlerts