CORS bypass via prefix-only origin matching
Published Jun 3, 2026 · Updated Jun 3, 2026
Origin validation error in Jupyter Server 1.12.0 through 2.17.0 allows remote attackers to bypass CORS restrictions via crafted domains. The allow_origin_pat checks use re.match() against Origin values, so a domain with an allowed prefix passes without matching the complete origin. Exploitation requires that configuration and user interaction with attacker-controlled content, enabling unauthorized API reads and writes in the victim's session.
Summary
What happened
Origin validation error in Jupyter Server 1.12.0 through 2.17.0 allows remote attackers to bypass CORS restrictions via crafted domains. The allow_origin_pat checks use re.match() against Origin values, so a domain with an allowed prefix passes without matching the complete origin. Exploitation requires that configuration and user interaction with attacker-controlled content, enabling unauthorized API reads and writes in the victim's session.
The record
- CVE
- CVE-2026-6657
- Published
- Jun 3, 2026
- Updated
- Jun 3, 2026
- Vendor
- Project Jupyter
- Product
- Jupyter Server
- Classifications
- CWE-777, CWE-346, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 3, 2026CVE publishedPublication date reported by the CVE source.
- Jun 3, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=unspecified <=latest
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Snyk CORS bypass proof of conceptproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo