CVE-2026-6657
HIGH 8.8CVSS 3.1Duplicate Advisory: jupyter-server is vulnerable to CORS origin validation bypass when the `allow_origin_pat` configuration is used
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.
- Published
- 3 Jun 2026
- Last modified
- 31 Jul 2026
- Assigned by
- security@huntr.dev
- NVD status
- Analyzed
- Weakness
- CWE-346
- Also known as
- GHSA-v42x-x7jp-845hPYSEC-2026-3472
- Sources
- NVDJSONOSV GHSA-v42x-x7jp-845hJSONOSV PYSEC-2026-3472JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | PyPA | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jupyter | jupyter_servercpe:2.3:a:jupyter:jupyter_server:*:*:*:*:*:*:*:* |
>= 1.12.0, <= 2.17.0 | |
| OSV | PyPI | jupyter-server | >= 1.12.0, <= 2.17.0 |
References
- https://huntr.com/bounties/18f642db-3569-43b3-b58d-ff97be4b09d7 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-6657 · ADVISORY
- https://github.com/advisories/GHSA-v42x-x7jp-845h · ADVISORY
- https://github.com/jupyter-server/jupyter_server · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/jupyter-server/PYSEC-2026-3472.yaml · WEB
- https://pypi.org/project/jupyter-server · WEB, PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 3 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Jun 2026)