CVE-2026-66298: CWE-346 Origin Validation Error in livebook-dev livebook
CVE-2026-66298 is an origin validation error vulnerability in livebook-dev's livebook software that allows untrusted JavaScript in notebook outputs to trigger session-wide keyboard shortcuts. This can cause forced evaluation of all notebook cells and runtime restarts without user consent. The vulnerability arises because the trusted iframe forwards all keydown events to the parent page without verifying their authenticity, enabling malicious scripts to simulate genuine keystrokes. Affected versions include 0.5.0 before 0.18.7 and 0.19.0 before 0.19.9.
AI Analysis
Technical Summary
The vulnerability in livebook-dev livebook involves improper origin validation in the handling of keyboard events between a sandboxed iframe and the parent page. The trusted iframe forwards every keydown event it receives to the parent page without checking if the event is trusted, allowing untrusted JavaScript inside the iframe to synthesize keyboard events that trigger global shortcuts. These shortcuts include forced full evaluation of all notebook cells, runtime restart, and cell deletion. This means that opening a malicious notebook can cause arbitrary Elixir code execution on the user's runtime without explicit user action. The issue affects livebook versions from 0.5.0 before 0.18.7 and from 0.19.0 before 0.19.9.
Potential Impact
An attacker can cause a user's livebook session to execute all notebook cells automatically, restart the runtime discarding in-memory state, or delete cells without user confirmation. This leads to forced execution of potentially malicious Elixir code, which can compromise the user's environment. Because outputs are mirrored to all connected clients, collaborators can also be affected when a malicious output is rendered. The vulnerability requires no privileges and can be triggered by simply opening a crafted notebook.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid opening notebooks from untrusted sources. Monitor the livebook-dev project for updates addressing this origin validation error vulnerability.
CVE-2026-66298: CWE-346 Origin Validation Error in livebook-dev livebook
Description
CVE-2026-66298 is an origin validation error vulnerability in livebook-dev's livebook software that allows untrusted JavaScript in notebook outputs to trigger session-wide keyboard shortcuts. This can cause forced evaluation of all notebook cells and runtime restarts without user consent. The vulnerability arises because the trusted iframe forwards all keydown events to the parent page without verifying their authenticity, enabling malicious scripts to simulate genuine keystrokes. Affected versions include 0.5.0 before 0.18.7 and 0.19.0 before 0.19.9.
CVSS v4.0
Score 8.6high
Affected software
livebook-dev
livebook
livebook-dev
livebook
livebook-dev
livebook
cpe:2.3:a:livebook-dev:livebook:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in livebook-dev livebook involves improper origin validation in the handling of keyboard events between a sandboxed iframe and the parent page. The trusted iframe forwards every keydown event it receives to the parent page without checking if the event is trusted, allowing untrusted JavaScript inside the iframe to synthesize keyboard events that trigger global shortcuts. These shortcuts include forced full evaluation of all notebook cells, runtime restart, and cell deletion. This means that opening a malicious notebook can cause arbitrary Elixir code execution on the user's runtime without explicit user action. The issue affects livebook versions from 0.5.0 before 0.18.7 and from 0.19.0 before 0.19.9.
Potential Impact
An attacker can cause a user's livebook session to execute all notebook cells automatically, restart the runtime discarding in-memory state, or delete cells without user confirmation. This leads to forced execution of potentially malicious Elixir code, which can compromise the user's environment. Because outputs are mirrored to all connected clients, collaborators can also be affected when a malicious output is rendered. The vulnerability requires no privileges and can be triggered by simply opening a crafted notebook.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid opening notebooks from untrusted sources. Monitor the livebook-dev project for updates addressing this origin validation error vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-07-24T14:10:01.114Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a739c88bf8831d5396b3016
Added to database: 08/05/2026, 20:26:48 UTC
Last enriched: 08/13/2026, 17:32:22 UTC
Last updated: 09/17/2026, 22:01:37 UTC
Views: 60
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.