CVE-2026-66298
Last modified
CVE-2026-66298 is a high-severity vulnerability rated 8.6/10 on the CVSS scale. 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. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
Description
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.
Metrics
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/E:X/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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| livebook-dev | livebook | >= 0.5.0, < 0.18.7; >= 0.19.0, < 0.19.9 |
| livebook-dev | livebook | >= 0.5.0, < 0.18.7; >= 0.19.0, < 0.19.9; >= 0.5.0-cuda12, < 0.18.7-cuda12; >= 0.19.0-cuda12, < 0.19.9-cuda12 |
| livebook-dev | livebook | >= 844242ba80a928d0d675416d312a58003cb7771b, < * |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-66298?
How severe is CVE-2026-66298?
How do I fix CVE-2026-66298?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-66276An authenticated attacker can craft a disposition frame with…6.5
- CVE-2026-66277It was not possible to govern the maximum number of transfer…6.5
- CVE-2026-6628A flaw has been found in phili67 Ecclesia CRM up to 8.0.0. T…6.3
- CVE-2026-6629A vulnerability has been found in Metasoft 美特软件 MetaCRM up t…7.3
- CVE-2026-66296Improper Neutralization of Input During Web Page Generation …5.1
- CVE-2026-66297Improper Neutralization of Special Elements used in an OS Co…4.9
- CVE-2026-66299Uncontrolled Resource Consumption vulnerability in Apache To…7.5
- CVE-2026-6630A vulnerability was found in Tenda F451 1.0.0.7_cn_svn7958. …8.8
- CVE-2026-66300SNOMED International Snowstorm contains a reflected XSS vuln…5
- CVE-2026-6631A vulnerability was determined in Tenda F451 1.0.0.7_cn_svn7…8.8
- CVE-2026-66310External control of file name or path in Microsoft Edge for …7.1
- CVE-2026-66311Missing authorization in Microsoft Edge (Chromium-based) all…6.2
Are you affected by CVE-2026-66298?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
