ADVISORIES

Vulnerability

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.

3 advisories report this vulnerability, across 3 ecosystems.

Medium severity All PyPI 2Chainguard 1Wolfi 1

Advisories

  • CGA-5547-m49j-h29q
    CVE-2026-21883 ChainguardWolfi Updated 5 November 2026
  • GHSA-793v-589g-574v

    Bokeh server applications have Incomplete Origin Validation in WebSockets

    Moderate CVE-2026-21883 PyPI Updated 10 September 2026
  • PYSEC-2026-1223

    Bokeh server applications have Incomplete Origin Validation in WebSockets

    CVE-2026-21883 PyPI Updated 7 July 2026

References