Home / livebook-dev / livebook / CVE-2026-66881
CVE-2026-66881: is it exploited, and which versions of livebook-dev livebook are affected and fixed?
CVE-2026-66881 is a path traversal vulnerability in livebook-dev livebook. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: livebook from 0.11.0 before 0.18.7, livebook from 0.19.0 before 0.19.9, livebook from 0.11.0-cuda12 before 0.18.7-cuda12 and 1 more (CVE record by EEF). Fixed in 0.18.7, 0.19.9, 0.18.7-cuda12 and 0.19.9-cuda12 (CVE record by EEF). Severity: High (7.0, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record December 2, 2026, 12:47 UTC and NVD December 2, 2026, 14:13 UTC.
What is CVE-2026-66881?
Path traversal in imported file_entries name allows arbitrary file write via URL-type entry download
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.
From the CVE record by EEF, last updated December 2, 2026, 12:40 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| livebook-dev | livebook | from 0.11.0 before 0.18.7 from 0.19.0 before 0.19.9 | 0.18.7, 0.19.9 |
| livebook-dev | livebook livebook-dev/livebook | from 0.11.0 before 0.18.7 from 0.11.0-cuda12 before 0.18.7-cuda12 from 0.19.0 before 0.19.9 from 0.19.0-cuda12 before 0.19.9-cuda12 | 0.18.7, 0.18.7-cuda12, 0.19.9, 0.19.9-cuda12 |
| livebook-dev | livebook livebook-dev/livebook | not stated |
As the CVE record by EEF states it, last updated December 2, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| livebook | livebook | from 0.11.0 before 0.18.7 | application |
| livebook | livebook | from 0.19.0 before 0.19.9 | application |
NVD analysis (status Modified), last modified December 2, 2026, 13:17 UTC.
How severe is CVE-2026-66881?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.0 | CVSS 4.0 | 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 | EEF |
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-66881 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, August 6, 2026)
- EPSS
- 0.53% probability of exploitation activity in the next 30 days, percentile 46.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-23 Relative Path Traversal
Where are the vendor advisories and references?
- Path traversal via unsanitized file_entries name on notebook import (arbitrary local file write) vendor-advisory, related
- EEF CNA record for CVE-2026-66881 related
- OSV record EEF-CVE-2026-66881 related
- Introducing commit c02eb98 in livebook-dev/livebook related
- Fix commit 1443dd2 in livebook-dev/livebook patch
- Fix commit 50f8698 in livebook-dev/livebook patch
- Fix commit acf4cb8 in livebook-dev/livebook patch
Who found and reported it?
- Nguyễn Công Tú (finder)
- Jonatan Männchen / EEF (analyst)
- Jonatan Kłosko (remediation developer)
- José Valim (remediation reviewer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- July 28, 2026
- Published
- August 5, 2026, 19:43 UTC
- CVE record updated
- December 2, 2026, 12:40 UTC by EEF
- NVD
- Modified, last modified December 2, 2026, 13:17 UTC
- Last checked
- CVE list December 2, 2026, 12:47 UTC; NVD December 2, 2026, 14:13 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect livebook?
- Aug 5, 2026CVE-2026-66885 livebook-dev livebook: cross-site request forgery (CSRF)
- Aug 5, 2026CVE-2026-66298 livebook-dev livebook: origin not validated
- Aug 5, 2026CVE-2026-66297 livebook-dev livebook: OS command injection
- Aug 5, 2026CVE-2026-68746 livebook-dev livebook: not Failing Securely
- Jun 22, 2023CVE-2023-35174 livebook-dev livebook: OS command injection
Questions about CVE-2026-66881
Is CVE-2026-66881 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 0.53% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of livebook-dev livebook are affected by CVE-2026-66881?
livebook from 0.11.0 before 0.18.7, livebook from 0.19.0 before 0.19.9, livebook from 0.11.0-cuda12 before 0.18.7-cuda12 and livebook from 0.19.0-cuda12 before 0.19.9-cuda12, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-66881?
0.18.7, 0.19.9, 0.18.7-cuda12 and 0.19.9-cuda12, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-66881?
High (7.0, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-66881?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.