CVE-2026-6657
Last modified
CVE-2026-6657 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Jupyter | Jupyter Server | >= 1.12.0, <= 2.17.0 |
References
- https://huntr.com/bounties/18f642db-3569-43b3-b58d-ff97be4b09d7Exploit, Third Party Advisory
- https://huntr.com/bounties/18f642db-3569-43b3-b58d-ff97be4b09d7Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-6657?
How severe is CVE-2026-6657?
How do I fix CVE-2026-6657?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-6650A vulnerability was identified in Z-BlogPHP 1.7.5. This affe…4.7
- CVE-2026-6651A security flaw has been discovered in erponline.xyz ERP Onl…2.4
- CVE-2026-6652A weakness has been identified in Pagekit CMS up to 1.0.18. …4.7
- CVE-2026-6653Use After Free in libxml2's xmlParseInternalSubset from GNOM…9.8
- CVE-2026-6654Double-Free / Use-After-Free (UAF) in the `IntoIter::drop` a…5.1
- CVE-2026-6656Crypt::Password versions through 0.28 for Perl are susceptib…7.5
- CVE-2026-6658A vulnerability in jupyter/nbconvert versions <= 7.17.0 allo…5.4
- CVE-2026-6659Crypt::PasswdMD5 versions through 1.42 for Perl generates in…7.5
- CVE-2026-6662A vulnerability was found in ericc-ch copilot-api up to 0.7.…7.3
- CVE-2026-6663The GWD Connect plugin for WordPress is vulnerable to missin…4.8
- CVE-2026-6664An integer overflow in network packet parsing code in PgBoun…7.5
- CVE-2026-66642Cross-Site Request Forgery (CSRF) vulnerability in WP Umbrel…5.4
Are you affected by CVE-2026-6657?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
