Security Resilience

CVE-2026-21883

Bokeh ≤ 3.8.2

Public PoC
Published
08 January 2026
Modified
09 March 2026
Patch / advisory
CVSS Score v4 4.5
Click a component to see what it means
Raw vectorCVSS: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
EPSS Score 0.0023 8th percentile
Risk Priority 35 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-21883 is a medium-severity Missing Origin Validation in WebSockets (CWE-1385) vulnerability in Bokeh. Its CVSS base score is 4.5 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 8th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-4 (Information Flow Enforcement) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1211 Exploitation for Stealth Stealth
Adversaries may exploit vulnerabilities to evade detection by hiding activity, suppressing logging, or operating within trusted or unmonitored components.
T1687 Exploitation for Defense Impairment Defense Impairment
Adversaries may exploit vulnerabilities in security software, infrastructure, or defensive components to degrade, disable, or otherwise continue to impair their ability to prevent, detect, or respond to malicious activity.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-57111Shared CWE-1385
CVE-2026-67405Shared CWE-1385
CVE-2024-48849Shared CWE-1385
CVE-2025-61987Shared CWE-1385
CVE-2023-32264Shared CWE-1385
CVE-2026-22689Shared CWE-1385
CVE-2025-54289Shared CWE-1385
CVE-2026-85183Shared CWE-1385
CVE-2024-8201Shared CWE-1385
CVE-2025-24964Shared CWE-1385

Affected Assets

bokeh
bokeh
≤ 3.8.2

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V4.4.2

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Enforces approved authorizations on logical access, which can include origin checks before accepting WebSocket connections.

Enforces information flow policies that can require validation of communication origins at system boundaries.

Protects authenticity of communications sessions, which origin validation helps ensure for WebSocket handshakes.

Monitors and controls communications at external interfaces, directly supporting origin validation for inbound WebSocket traffic.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 full match
blocks

Secure SDLC practices directly require origin validation for WebSocket endpoints.

PR.AA-03 mostly match
blocks

Origin validation is a required step when authenticating WebSocket connection requests.

PR.AA-05 partial match
blocks

Enforcing authorization policy on incoming connections can require origin checks.

PR.IR-01 partial match
blocks

Network-level controls that block unauthorized logical access can mitigate missing origin checks.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect missing origin validation in WebSocket implementations.

prevents

Training can teach developers to validate WebSocket origins, but this is a specific implementation detail that training reaches only as a minority of cases, parallel to A.6.3 vs CWE-598 where the effect on a developer-introduced code defect is real but bounded.

prevents

Secure coding standards can explicitly require origin validation for WebSocket connections.

finds

A.8.8's reach is disclosure-based: it finds this weakness only where it has been published as a CVE in a third-party component (the observed examples show it does get CVE'd), but most missing-origin-validation instances are in first-party WebSocket code that A.8.8's scanning and inventory-based mechanisms do not inspect, mirroring the A.8.8 -> CWE-89 anchor.

References