CVE-2026-21883Bokeh
Medium 4.5 No auth needed
Follow: this CVE · Bokeh · Bokeh We alert you by email or Slack (account required).
- Priority
- 42
- CVSS 4.0
- 4.5
- EPSS
- —
- Auth required
- No
- Published
- Jan 8, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1385
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for Bokeh.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | bokeh |
< 3.8.2 |
3.8.2 |
pip install "bokeh>=3.8.2" |
| PyPI | bokeh |
< 3.8.2 |
3.8.2 |
pip install "bokeh>=3.8.2" |
Per OSV / GitHub Advisories (GHSA-793v-589g-574v, PYSEC-2026-1223). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| bokeh | bokeh | < 3.8.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Vendor Advisory
- aydinnyunus.github.io Exploit Mitigation Third Party Advisory