CVE-2026-21883
Bokeh server applications have Incomplete Origin Validation in WebSockets
- State
- Published
- Severity
- 4.5 Medium
- Published
- Jan 8, 2026
- Updated
- Jan 23, 2026
- Reserved
- Jan 5, 2026
Description
Bokeh is an interactive visualization library written in Python. In versions 3.8.1 and below, if a server is configured with an allowlist (e.g., dashboard.corp), an attacker can register a domain like dashboard.corp.attacker.com (or use a subdomain if applicable) and lure a victim to visit it. The malicious site can then initiate a WebSocket connection to the vulnerable Bokeh server. Since the Origin header (e.g., http://dashboard.corp.attacker.com/) matches the allowlist according to the flawed logic, the connection is accepted. Once connected, the attacker can interact with the Bokeh server on behalf of the victim, potentially accessing sensitive data, or modifying visualizations. This issue is fixed in version 3.8.2.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.5 Medium | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U | GitHub_M |
Weaknesses
- CWE-1385 Missing Origin Validation in WebSockets
Affected Products
| Product | Versions |
|---|---|
bokehbokeh |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.