Skip to main content
EPSS 0.2%top 93%

CVE-2026-66298: CWE-346 Origin Validation Error in livebook-dev livebook

0
High
VulnerabilityCVE-2026-66298cvecve-2026-66298cwe-346
Published: 08/05/2026 (08/05/2026, 19:44:11 UTC)
Source: CVE Database V5
Vendor/Project: livebook-dev
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

livebook-dev

livebook

Affected versions
>=0.5.0 <0.18.7>=0.19.0 <0.19.9

livebook-dev

livebook

Affected versions
>=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

livebook
pkg:hex/livebook
Affected versions
>=0.5.0 <0.18.7>=0.19.0 <0.19.9
GitHub Actionsmore threats →cve
livebook-dev/livebook
pkg:github/livebook-dev/livebook
CPE configurations
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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/13/2026, 17:32:22 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses