CVE-2026-21883
MEDIUM 4.5CVSS 4.0Bokeh server applications have Incomplete Origin Validation in WebSockets
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.
- Published
- 8 Jan 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-1385
- Also known as
- GHSA-793v-589g-574vPYSEC-2026-1223
- Sources
- NVDJSONOSV GHSA-793v-589g-574vJSONOSV PYSEC-2026-1223JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 4.5 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | PyPA | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | bokeh | bokehcpe:2.3:a:bokeh:bokeh:*:*:*:*:*:python:*:* |
< 3.8.2 | 3.8.2 |
| OSV | PyPI | bokeh | < 3.8.2 | 3.8.2 |
References
- https://github.com/bokeh/bokeh/commit/cedd113b0e271b439dce768671685cf5f861812e · Patch, WEB
- https://github.com/bokeh/bokeh/security/advisories/GHSA-793v-589g-574v · Exploit, Vendor Advisory, WEB
- https://aydinnyunus.github.io/2026/01/24/bokeh-websocket-hijacking-cve-2026-21883/ · Exploit, Mitigation, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-21883 · ADVISORY
- https://github.com/bokeh/bokeh · PACKAGE
- https://pypi.org/project/bokeh · PACKAGE
- https://github.com/advisories/GHSA-793v-589g-574v · ADVISORY
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 8 Jan 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Jan 2026)