# CVE-2026-21883: Bokeh server applications have Incomplete Origin Validation in WebSockets

- Severity: Medium 4.5 (CVSS:4.0, scored by GitHub_M) `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:U`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 8% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-01-06T17:53:44.000Z
- Modified: 2026-09-10T03:50:32.759Z
- Also known as: GHSA-793v-589g-574v, PYSEC-2026-1223
- Weaknesses: CWE-1385
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- bokeh bokeh: < 3.8.2; before 3.8.2
- bokeh (PyPI): before 3.8.2

## Every score

- GitHub_M: CVSS:4.0 4.5 Medium `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:U`
- GitHub: CVSS:4.0 Medium `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:U`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:4.0 `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:U`

## References

- <https://github.com/bokeh/bokeh/security/advisories/GHSA-793v-589g-574v> (exploit, vendor-advisory, web)
- <https://aydinnyunus.github.io/2026/01/24/bokeh-websocket-hijacking-cve-2026-21883/> (exploit, mitigation, third-party-advisory)
- <https://github.com/bokeh/bokeh/commit/cedd113b0e271b439dce768671685cf5f861812e> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-21883> (advisory)
- <https://aydinnyunus.github.io/2026/01/24/bokeh-websocket-hijacking-cve-2026-21883> (web)
- <https://github.com/bokeh/bokeh> (package)
- <https://pypi.org/project/bokeh> (package)
- <https://github.com/advisories/GHSA-793v-589g-574v> (advisory)

## Sources

- CVE List: [CVE-2026-21883](https://www.cve.org/CVERecord?id=CVE-2026-21883), CVE Terms of Use, modified 2026-01-23
- GitHub Advisory Database: [GHSA-793v-589g-574v](https://github.com/advisories/GHSA-793v-589g-574v), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-21883](https://nvd.nist.gov/vuln/detail/CVE-2026-21883), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1223](https://osv.dev/vulnerability/PYSEC-2026-1223), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2026-21883 · Whole record: https://cve.day/CVE-2026-21883.json · Rebuilt by cve.day 2026-11-25T22:59:12.655Z
