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-66881 has been found in Livebook.
Data can be tampered with by attackers. CVSS score: 8.1/10.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "Livebook CVE-2026-66881" on the vendor's site.
CVE-2026-66881 (Livebook) — CWE-23 / CVSS v3 8.1
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-23) exists in Livebook.
Check the vendor advisory for the affected versions of Livebook.
Severity: High (CVSS 8.1/10). Data can be tampered with by attackers.
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.11.0, < 0.18.7→ 0.18.7 ≥ 0.19.0, < 0.19.9→ 0.19.9 |
0.18.7 0.19.9 |
| livebook-devlivebook |
≥ c02eb984f80a543c7a52b1d882c76f56aa5be743 (no fix yet)→ 1443dd23df6e7b9203b6797f0695a807aeb81dde, 50f86982ebf36c22abeb379b55ec0f2859c83bb9, acf4cb8c0c79b89c795b180f061be7de2d8b5aa9 |
1443dd23df6e7b9203b6797f0695a807aeb81dde, 50f86982ebf36c22abeb379b55ec0f2859c83bb9, acf4cb8c0c79b89c795b180f061be7de2d8b5aa9 |
Original description The description as published by the source.
Relative Path Traversal vulnerability in livebook-dev livebook allows an attacker-authored notebook to write a file with attacker-controlled content to an arbitrary path.
A .livemd notebook can declare file_entries metadata, each entry carrying a name. Every path that creates a file entry through the user interface validates that name with Livebook.Notebook.validate_file_entry_name/2, which requires a flat filename of alphanumerics, dashes, underscores and dots, ending in an extension. The import path does not: Livebook.LiveMarkdown.Import.file_entry_metadata_to_attrs/1 in lib/livebook/live_markdown/import.ex takes the name verbatim from the notebook source.
For a URL-type file entry, Livebook.Session.file_entry_cache_file/2 in lib/livebook/session.ex resolves that name beneath the session's temporary directory without checking that the result stays inside it, and Livebook.FileSystem.Utils.resolve_unix_like_path/2 collapses parent-directory segments while clamping only at the filesystem root. When the entry's content is requested and no cached copy exists, Livebook fetches the entry's URL and writes the response body to the resolved path, creating parent directories as needed. The attacker therefore controls both the destination and the contents of the written file, which may land anywhere the Livebook process can write. The same missing containment check is present in Livebook.Session.to_attachment_file_entry/2.
A victim who opens an attacker-supplied notebook and causes…
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory osv.dev
- advisory github.com
- advisory nvd.nist.gov
- exploit github.com
- package hex.pm
- package github.com
- patch cna.erlef.org
- patch github.com
- patch github.com
- patch github.com
- web ghcr.io
- web github.com
- web repo.hex.pm
- web github.com