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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:bokeh:bokeh:*:*:*:*:*:python:*:*

History

17 Jun 2026, 10:19

Type Values Removed Values Added
References () https://github.com/bokeh/bokeh/security/advisories/GHSA-793v-589g-574v - Vendor Advisory, Exploit () https://github.com/bokeh/bokeh/security/advisories/GHSA-793v-589g-574v - Exploit, Vendor Advisory
Summary
  • (es) Bokeh es una biblioteca de visualización interactiva escrita en Python. En las versiones 3.8.1 e inferiores, si un servidor está configurado con una lista de permitidos (por ejemplo, dashboard.corp), un atacante puede registrar un dominio como dashboard.corp.attacker.com (o usar un subdominio si corresponde) y atraer a una víctima para que lo visite. El sitio malicioso puede entonces iniciar una conexión WebSocket al servidor Bokeh vulnerable. Dado que el encabezado Origin (por ejemplo, HTTP://dashboard.corp.attacker.com/) coincide con la lista de permitidos según la lógica defectuosa, la conexión es aceptada. Una vez conectado, el atacante puede interactuar con el servidor Bokeh en nombre de la víctima, potencialmente accediendo a datos sensibles o modificando visualizaciones. Este problema está solucionado en la versión 3.8.2.

09 Mar 2026, 14:00

Type Values Removed Values Added
CPE cpe:2.3:a:bokeh:bokeh:*:*:*:*:*:python:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.4
References () https://github.com/bokeh/bokeh/commit/cedd113b0e271b439dce768671685cf5f861812e - () https://github.com/bokeh/bokeh/commit/cedd113b0e271b439dce768671685cf5f861812e - Patch
References () https://github.com/bokeh/bokeh/security/advisories/GHSA-793v-589g-574v - () https://github.com/bokeh/bokeh/security/advisories/GHSA-793v-589g-574v - Vendor Advisory, Exploit
References () https://aydinnyunus.github.io/2026/01/24/bokeh-websocket-hijacking-cve-2026-21883/ - () https://aydinnyunus.github.io/2026/01/24/bokeh-websocket-hijacking-cve-2026-21883/ - Exploit, Mitigation, Third Party Advisory
First Time Bokeh bokeh
Bokeh

23 Jan 2026, 15:16

Type Values Removed Values Added
References
  • () https://aydinnyunus.github.io/2026/01/24/bokeh-websocket-hijacking-cve-2026-21883/ -

08 Jan 2026, 02:15

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-08 02:15

Updated : 2026-06-17 10:19


NVD link : CVE-2026-21883

Mitre link : CVE-2026-21883

CVE.ORG link : CVE-2026-21883


JSON object : View

Products Affected

bokeh

  • bokeh
CWE
CWE-1385

Missing Origin Validation in WebSockets