Home / livebook-dev / livebook / CVE-2026-66298
CVE-2026-66298: is it exploited, and which versions of livebook-dev livebook are affected and fixed?
CVE-2026-66298 is an origin not validated vulnerability in livebook-dev livebook. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: livebook from 0.5.0 before 0.18.7, livebook from 0.19.0 before 0.19.9, livebook from 0.5.0-cuda12 before 0.18.7-cuda12 and 1 more (CVE record by EEF). Fixed in 0.18.7, 0.19.9, 0.18.7-cuda12 and 0.19.9-cuda12 (CVE record by EEF). Severity: High (8.6, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record December 2, 2026, 12:47 UTC and NVD December 2, 2026, 14:13 UTC.
What is CVE-2026-66298?
JS-view sandboxed output can synthesize keyboard events to trigger unconfirmed global shortcuts
Origin Validation Error vulnerability in livebook-dev livebook allows untrusted notebook output JavaScript to trigger session-wide keyboard shortcuts, including forced evaluation of all cells and runtime restart. Livebook's JS-view feature renders notebook-defined JavaScript inside a sandboxed, cross-origin iframe specifically because that JavaScript is untrusted. The trusted iframe shell in iframe/priv/static/iframe/v5.html forwards every keydown event fired in its own window to the parent page without consulting Event.isTrusted, so an event synthesized by the untrusted script through window.dispatchEvent is forwarded exactly as a genuine keystroke would be. The parent-side relay in assets/js/hooks/js_view.js reconstructs and re-dispatches it on the live page with no further validation, and because assets/js/hooks/session.js registers the global shortcut handler on the document in the capture phase, that handler acts on the replicated event regardless of how it was produced. Sandboxed output JavaScript can therefore drive Livebook's session-wide keyboard shortcuts. Two of them reach LivebookWeb.SessionLive and execute immediately with no confirmation: the shortcut for queueing full evaluation runs every cell in the notebook, and the shortcut for reconnecting the runtime disconnects and reconnects it, discarding in-memory state. A third shortcut deletes the focused cell behind a confirmation dialog that the user can permanently dismiss, after which it too executes silently. Forced full evaluation is the significant consequence, because it causes the notebook's own Elixir code to run without the user choosing to evaluate anything. A user who merely opens a notebook obtained from a third party, or reached from published documentation, can have its code executed on their runtime. Livebook also mirrors cell outputs to every connected client, so a malicious output triggers in a collaborator's browser as soon as it renders. This issue affects livebook: from 0.5.0 before 0.18.7 and from 0.19.0 before 0.19.9.
From the CVE record by EEF, last updated December 2, 2026, 12:41 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| livebook-dev | livebook | from 0.5.0 before 0.18.7 from 0.19.0 before 0.19.9 | 0.18.7, 0.19.9 |
| livebook-dev | livebook livebook-dev/livebook | from 0.5.0 before 0.18.7 from 0.5.0-cuda12 before 0.18.7-cuda12 from 0.19.0 before 0.19.9 from 0.19.0-cuda12 before 0.19.9-cuda12 | 0.18.7, 0.18.7-cuda12, 0.19.9, 0.19.9-cuda12 |
| livebook-dev | livebook livebook-dev/livebook | not stated |
As the CVE record by EEF states it, last updated December 2, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| livebook | livebook | from 0.5.0 before 0.18.7 | application |
| livebook | livebook | from 0.19.0 before 0.19.9 | application |
NVD analysis (status Modified), last modified December 2, 2026, 13:17 UTC.
How severe is CVE-2026-66298?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.6 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | EEF |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-66298 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, August 6, 2026)
- EPSS
- 0.21% probability of exploitation activity in the next 30 days, percentile 12.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-346 Origin Validation Error
Where are the vendor advisories and references?
- JS-view sandboxed output can synthesize keyboard events to trigger unconfirmed global shortcuts (forced full evaluation / runtime restart) vendor-advisory, related
- EEF CNA record for CVE-2026-66298 related
- OSV record EEF-CVE-2026-66298 related
- Introducing commit 844242b in livebook-dev/livebook related
- Fix commit 296318f in livebook-dev/livebook patch
- Fix commit 5980e5c in livebook-dev/livebook patch
- Fix commit a552ce8 in livebook-dev/livebook patch
Who found and reported it?
- Nguyễn Công Tú (finder)
- Jonatan Männchen / EEF (analyst)
- Jonatan Kłosko (remediation developer)
- José Valim (remediation reviewer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- July 24, 2026
- Published
- August 5, 2026, 19:44 UTC
- CVE record updated
- December 2, 2026, 12:41 UTC by EEF
- NVD
- Modified, last modified December 2, 2026, 13:17 UTC
- Last checked
- CVE list December 2, 2026, 12:47 UTC; NVD December 2, 2026, 14:13 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect livebook?
- Aug 5, 2026CVE-2026-66885 livebook-dev livebook: cross-site request forgery (CSRF)
- Aug 5, 2026CVE-2026-66297 livebook-dev livebook: OS command injection
- Aug 5, 2026CVE-2026-66881 livebook-dev livebook: path traversal
- Aug 5, 2026CVE-2026-68746 livebook-dev livebook: not Failing Securely
- Jun 22, 2023CVE-2023-35174 livebook-dev livebook: OS command injection
Questions about CVE-2026-66298
Is CVE-2026-66298 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.21% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of livebook-dev livebook are affected by CVE-2026-66298?
livebook from 0.5.0 before 0.18.7, livebook from 0.19.0 before 0.19.9, livebook from 0.5.0-cuda12 before 0.18.7-cuda12 and livebook from 0.19.0-cuda12 before 0.19.9-cuda12, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-66298?
0.18.7, 0.19.9, 0.18.7-cuda12 and 0.19.9-cuda12, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-66298?
High (8.6, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-66298?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.