Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-66881— Path traversal in imported file_entries name allows arbitrary file write via URL-type entry download

Quick assessment

Affected
livebook-dev livebook
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Livebook是Livebook组织开源的一款用于编写交互式协作代码笔记本的 Web 应用程序。 Livebook 0.11.0版本至0.18.7之前版本和0.19.0版本至0.19.9之前版本存在路径遍历漏洞,该漏洞源于对文件条目名称验证不充分,可能导致攻击者通过恶意制作的notebook将攻击者控制的内容写入任意路径。

CVSS 7.0 · High EPSS 0.61% · P49

Affected Version Matrix 7

VendorProduct Version RangeStatus
livebook-dev livebook 0.11.0< 0.18.7 affected
0.19.0< 0.19.9 affected
0.11.0< 0.18.7 affected
0.19.0< 0.19.9 affected
0.11.0-cuda12< 0.18.7-cuda12 affected
0.19.0-cuda12< 0.19.9-cuda12 affected
c02eb984f80a543c7a52b1d882c76f56aa5be743< * affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-66881

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Path traversal in imported file_entries name allows arbitrary file write via URL-type entry download
Source: CVE Program / CVE List V5
Vulnerability Description
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 the entry to be fetched triggers the write within their own authenticated session; the attacker needs no account on the target instance. URL-type entries are also not placed under notebook stamping quarantine on import, so no warning is shown. This issue affects livebook: from 0.11.0 before 0.18.7 and from 0.19.0 before 0.19.9.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
相对路径遍历
Source: CVE Program / CVE List V5
Vulnerability Title
Livebook 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Livebook是Livebook组织开源的一款用于编写交互式协作代码笔记本的 Web 应用程序。 Livebook 0.11.0版本至0.18.7之前版本和0.19.0版本至0.19.9之前版本存在路径遍历漏洞,该漏洞源于对文件条目名称验证不充分,可能导致攻击者通过恶意制作的notebook将攻击者控制的内容写入任意路径。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
livebook-dev livebook 0.11.0 ~ 0.18.7 cpe:2.3:a:livebook-dev:livebook:*:*:*:*:*:*:*:*
livebook-dev livebook 0.11.0 ~ 0.18.7 cpe:2.3:a:livebook-dev:livebook:*:*:*:*:*:*:*:*
livebook-dev livebook c02eb984f80a543c7a52b1d882c76f56aa5be743 ~ * cpe:2.3:a:livebook-dev:livebook:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-66881

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 8557 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-66881

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-66881 (3)

Vendor Advisories for CVE-2026-66881 (3)

Same Patch Batch · livebook-dev · 2026-08-05 · 5 CVEs total

CVE-2026-66298 8.6 HIGH JS-view sandboxed output can synthesize keyboard events to trigger unconfirmed global shor
CVE-2026-68746 7.7 HIGH Livebook Teams identity check fails open when the deployment group is unresolvable, allowi
CVE-2026-66885 6.8 MEDIUM Livebook Teams identity callback lacks state binding, allowing login CSRF
CVE-2026-66297 5.0 MEDIUM Unescaped deployment environment variables in generated setup commands

IV. Related Vulnerabilities