Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-21883

MEDIUM 4.5PoCEPSS 8%

Bokeh server applications have Incomplete Origin Validation in WebSockets

Also known as GHSA-793v-589g-574v, PYSEC-2026-1223

Mitigation

  • Upgrade bokeh to 3.8.2 or later.

Who should check

  • Projects that depend on PyPI package bokeh (< 3.8.2)
  • Anyone running bokeh < 3.8.2

Vulnerability facts

Affected
bokeh < 3.8.2
Fixed in
3.8.2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Remote, no login needed
CVSS
4.5 (v4.0, CNA)CVSS: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:UOpen in CVSS calculator
Show all 12 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: Active
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: None
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
  • Exploit maturity: Unreported
EPSS
0.23% chance of exploitation in 30 days (percentile 8, 2026-11-26)
CWE
CWE-1385
Published
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.

Affected and fixed versions

Package / productAffectedFixedSource
PyPI bokeh< 3.8.23.8.2osv
bokeh< 3.8.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-21883. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-21883.md
Affected: bokeh < 3.8.2
Fixed in: 3.8.2

Steps:
1. Search this machine and project for bokeh (PyPI), bokeh: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-21883 being exploited?

There is no confirmed exploitation: CVE-2026-21883 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-21883?

Medium: CVSS 4.5 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2026-21883?

bokeh < 3.8.2.

Is there a fix for CVE-2026-21883?

Yes. Fixed in 3.8.2. Upgrade bokeh to 3.8.2 or later.

How do I check if I'm affected by CVE-2026-21883?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors