CVE-2026-21883

Medium

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.

SeverityMedium
CVSS5.4
Exploit probability—
ProductBokeh
PublishedJan 8, 2026
First seenJan 8, 2026
Weakness typeCWE-1385CWE-1385

How to fix

Update
  • bokeh bokeh3.8.2 or later
  • bokeh3.8.2 or later

Affected products

ProductAffected versionsFixed in
bokeh bokehv < 3.8.23.8.2
bokehPyPIv < 3.8.23.8.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.