CVE & CISA-KEV Catalog

CVE-2026-66298

HIGH
8.8
CVSS v3
NVD

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.

How to fix

Remediation Available
livebookNVD
Affected:>= 0.19.0, < 0.19.9Fixed in:0.19.9CVE-2026-66298derived from NVD
Affected:>= 0.5.0, < 0.18.7Fixed in:0.18.7CVE-2026-66298derived from NVD

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploit Intelligence

0.17%probability of exploitation in 30 days
7thpercentile

Low risk: more likely to be exploited than 7% of all known CVEs.

References

Vendor Advisory1
Third-Party Advisory1

Related Vulnerabilities

Other CWE-346 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-34291High8.884%KEV-
CVE-2009-1185High7.282%-Fix
CVE-2015-4495High8.871%KEVFix
CVE-2020-16952High8.671%--
CVE-2023-29711Critical9.870%--
CVE-2024-23898High8.867%-Fix

Common questions

How do I fix CVE-2026-66298?

Upgrade livebook to 0.19.9 or later.

Is CVE-2026-66298 being actively exploited?

Not that we know of. CVE-2026-66298 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.17% is the estimated probability that it will be exploited in the next 30 days. That is higher than 7% of all scored CVEs.

How severe is CVE-2026-66298?

CVE-2026-66298 has a CVSS v3 base score of 8.8, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2026-66298 affect?

Published advisories record a fix for livebook (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2026-66298
CVE-2026-66298 severity badge

Markdown

[![CVE-2026-66298](https://tridentstack.com/cve/badge/CVE-2026-66298.svg)](https://tridentstack.com/cve/CVE-2026-66298)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-66298"><img src="https://tridentstack.com/cve/badge/CVE-2026-66298.svg" alt="CVE-2026-66298"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-08-10.