本文へ移動
English version →
高 8.8

Livebookでサンドボックス出力から全セル実行などのショートカットを操作される

CVE-2026-66298 SecPulse初出

概要

Livebookの JS-view 機能で、信頼されていないノートブックの JavaScript がキーボードイベントを偽装し、全セルの評価やランタイムの再接続などセッション全体のショートカットを確認なしに実行できる脆弱性です。影響を受けるのは 0.5.0 以上 0.18.7 未満、および 0.19.0 以上 0.19.9 未満の Livebook です。修正版の 0.18.7 または 0.19.9 以降へ更新してください。

AI要約

SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。

Livebook という製品で、CVE-2026-66298 という番号がついた弱点 (脆弱性) が見つかりました。
悪用されるとシステム全体を乗っ取られる可能性があります。重要度は CVSS スコア 8.8/10 です。
対策: ベンダー公式の修正版に更新してください。
心配なら、システム担当者や製品の公式サイトで「Livebook CVE-2026-66298」を検索してください。

CVE-2026-66298 (Livebook) — CWE-346 / CVSS v3 8.8
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 認証不要
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。

何が問題か

Livebook に 脆弱性 (CWE-346) があります。

影響範囲

Livebook の影響バージョンはベンダーのアドバイザリで確認してください。

重要度

重要度: 重要 (CVSS 8.8/10)。悪用されるとシステム全体を乗っ取られる可能性があります。

修正方法

ベンダー公式アドバイザリの修正版に更新してください。

暫定回避

修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。

検知方法

Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。

対応アクション

SOC/SREチームが順番に実行すべき具体的なステップとコマンド例

  1. 1
    影響範囲の特定identify
    grep -r 'Livebook' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で Livebook を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    事後検証verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

影響パッケージ

パッケージ影響を受ける版 → 修正版
Hexlivebook
0.5.0 以上 0.18.7 未満→ 0.18.7
0.19.0 以上 0.19.9 未満→ 0.19.9
livebook-devlivebook
844242ba80a928d0d675416d312a58003cb7771b 以上(修正版なし)→ 296318ffdfa6e5ed7b18ad8d5a5b2af90f3cd728, 5980e5c6b71036806b3bf54101eb1d6c0f50f19c, a552ce8f99ad348ea37061394dc950a0cebdb33e
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

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.…

出典: NIST National Vulnerability Database NVD GitHub Advisory

参照URL

当サイトでは、アクセス解析と広告の効果測定のためにCookieを使います。株式会社Gameのサイト共通の設定です。 詳しく