CVE-2026-21883
CVE-2026-21883 is a medium-severity vulnerability in Bokeh with a CVSS 3.x base score of 5.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-1385.
Key facts
- Severity: Medium (CVSS 3.x base score 5.4)
- CVSS v4: 4.5
- EPSS exploit prediction: 0% (5th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-1036
- Weakness: CWE-1385
- Affected product: Bokeh
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-21883?
- 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.
- How severe is CVE-2026-21883?
- CVE-2026-21883 has a CVSS 3.x base score of 5.4, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2026-21883 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (5th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-21883?
- CVE-2026-21883 affects Bokeh. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-21883?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-21883 have an EU (EUVD) identifier?
- Yes. CVE-2026-21883 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-1036.
- When was CVE-2026-21883 published?
- CVE-2026-21883 was published on 2026-01-08 and last updated on 2026-06-17.
References
- https://github.com/bokeh/bokeh/commit/cedd113b0e271b439dce768671685cf5f861812e
- https://github.com/bokeh/bokeh/security/advisories/GHSA-793v-589g-574v
- https://aydinnyunus.github.io/2026/01/24/bokeh-websocket-hijacking-cve-2026-21883/
Affected products (1)
- cpe:2.3:a:bokeh:bokeh:*:*:*:*:*:python:*:*
Other CWE-1385 vulnerabilities
- CVE-2024-23168 — Critical (CVSS 9.8): Vulnerability in Xiexe XSOverlay before build 647 allows non-local websites to send the malicious commands to the…
- CVE-2025-24964 — Critical (CVSS 9.6): Vitest is a testing framework powered by Vite. Affected versions are subject to arbitrary remote Code Execution when…
- CVE-2024-48849 — Critical (CVSS 9.4): Missing Origin Validation in WebSockets vulnerability in FLXEON. Session management was not sufficient to prevent…
- CVE-2025-52882 — High (CVSS 8.8): Claude Code is an agentic coding tool. Claude Code extensions in VSCode and forks (e.g., Cursor, Windsurf, and…
- CVE-2026-34403 — High (CVSS 8.1): Nginx UI is a web user interface for the Nginx web server. Prior to version 2.3.5, all WebSocket endpoints in nginx-ui…
- CVE-2025-54289 — High (CVSS 8.1): Privilege Escalation in operations API in Canonical LXD <6.5 on multiple platforms allows attacker with read…