CVE-2026-6657: Duplicate Advisory Jupyter-server Is Vulnerable To CORS Vulnerability
MODERATECVE-2026-6657 is a MODERATE (CVSS 6.1) jupyter-server is vulnerable to cors vulnerability (CWE-346: Origin Validation Error) affecting Duplicate Advisory libraries in the PyPI ecosystem. The issue involves jupyter-server is vulnerable to cors origin validation bypass when the `allow_origin_pat` configuration is used. Remediation is available in the latest vendor maintenance releases.
CVE-2026-6657 at a Glance
Security Impact
CVSS: 6.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2026-6657
To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install jupyter-server>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show jupyter-server
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-6657, inspect your installed packages using pip:
pip show jupyter-server
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show jupyter-server command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-346: Origin Validation Error, where the product does not properly verify that the source of data or communication is valid. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-6657 Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
jupyter-server
|
PyPI |
≥ 1.12.0
≤ 2.17.0
|
|
References
Frequently Asked Questions
What is CVE-2026-6657?
Which Duplicate Advisory versions are affected?
What version fixes CVE-2026-6657?
Is jupyter-server affected?
What is the CVSS score of CVE-2026-6657?
What CWE is associated with CVE-2026-6657?
How can I check PyPI dependencies for CVE-2026-6657?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-v42x-x7jp-845h",
"modified" : "2026-07-31T20:25:54Z",
"published" : "2026-06-03T18:33:10Z",
"withdrawn" : "2026-07-31T20:25:54Z",
"aliases" : [ "CVE-2026-6657" ],
"summary" : "Duplicate Advisory: jupyter-server is vulnerable to CORS origin validation bypass when the `allow_origin_pat` configuration is used",
"details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-24qx-w28j-9m6p. This link is maintained to preserve external references.\n\n### Original Description\nA 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "jupyter-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.12.0"
}, {
"last_affected" : "2.17.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-6657"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-v42x-x7jp-845h"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jupyter-server/jupyter_server"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/jupyter-server/PYSEC-2026-3472.yaml"
}, {
"type" : "WEB",
"url" : "https://huntr.com/bounties/18f642db-3569-43b3-b58d-ff97be4b09d7"
}, {
"type" : "WEB",
"url" : "https://pypi.org/project/jupyter-server"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-346" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-13T17:46:17Z",
"nvd_published_at" : "2026-06-03T16:16:31Z"
}
}