Vulnerability in Livebook
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2026-66298 has been found in Livebook.
Successful exploitation can lead to full system takeover. CVSS score: 8.8/10.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "Livebook CVE-2026-66298" on the vendor's site.
CVE-2026-66298 (Livebook) — CWE-346 / CVSS v3 8.8
Attack vector: remote (network-reachable) / unauthenticated
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-346) exists in Livebook.
Check the vendor advisory for the affected versions of Livebook.
Severity: High (CVSS 8.8/10). Successful exploitation can lead to full system takeover.
Update to the patched release per vendor advisory.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'Livebook' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'Livebook' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
Livebookを grep し、稼働しているサービス・バージョンを把握する。 -
2
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Hexlivebook |
≥ 0.5.0, < 0.18.7→ 0.18.7 ≥ 0.19.0, < 0.19.9→ 0.19.9 |
0.18.7 0.19.9 |
| livebook-devlivebook |
≥ 844242ba80a928d0d675416d312a58003cb7771b (no fix yet)→ 296318ffdfa6e5ed7b18ad8d5a5b2af90f3cd728, 5980e5c6b71036806b3bf54101eb1d6c0f50f19c, a552ce8f99ad348ea37061394dc950a0cebdb33e |
296318ffdfa6e5ed7b18ad8d5a5b2af90f3cd728, 5980e5c6b71036806b3bf54101eb1d6c0f50f19c, a552ce8f99ad348ea37061394dc950a0cebdb33e |
Original description The description as published by the source.
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.…
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory osv.dev
- advisory github.com
- advisory nvd.nist.gov
- package hex.pm
- package github.com
- patch cna.erlef.org
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- web ghcr.io
- web github.com
- web repo.hex.pm
- web github.com