Skip to main content

Livebook EUVDEUVD-2026-53600

| CVE-2026-66881 HIGH
Relative Path Traversal (CWE-23)
2026-08-05 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
7.0
CVSS 4.0 · Vendor: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious .livemd with traversal entry name
  2. Delivery
    Victim opens attacker-supplied notebook
  3. Exploit
    Livebook imports file entry name without validation
  4. Execution
    URL entry fetch resolves path outside session boundary
  5. Impact
    Livebook writes attacker HTTP payload to arbitrary path

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Relative path traversal prevention
Exploitation Conditions

Exploitation requires three concrete conditions: (1) the victim must open an attacker-supplied .livemd notebook in a Livebook instance running versions 0.11.0-0.18.6 or 0.19.0-0.19.8; (2) the URL-type file entry must be fetched by the Livebook session - this occurs automatically when no cached copy exists and the entry's content is requested during notebook use; (3) outbound HTTP connectivity from the Livebook host to the attacker's server must be permitted. The attacker requires no account or credentials on the target instance (confirmed by CVSS PR:N). The write radius is bounded by the OS-level permissions of the Livebook process - on a developer workstation running as the user, this typically includes the entire home directory and any writable application paths. Exploitation is limited by: the user-interaction requirement (victim must open the notebook); the need for outbound network access from the Livebook host; and the fact that URL-type entries are not quarantined on import, meaning sophisticated victims who inspect raw notebook source before opening could detect a traversal name. No special Livebook configuration or feature flag is required - the vulnerable code path is active in all default installations within the affected version ranges.

Impact

The CVSS 4.0 score of 7.0 (AV:N/AC:L/AT:N/PR:N/UI:A/VI:H/VA:L) accurately represents the attack profile: network-reachable, low complexity, no privileges needed, but dependent on a user interaction step. The VI:H rating is well-founded - attacker-controlled writes to arbitrary paths can achieve configuration file tampering, shell initialization file poisoning, or placement of payloads in web-accessible directories. The UI:A constraint is the primary risk moderator, but Livebook's core use case is notebook sharing and collaboration, making the social engineering step realistic and low-friction. URL-type entries are explicitly excluded from the notebook-stamping quarantine system, meaning no in-product warning is shown to the victim - this removes an important friction point that might otherwise slow exploitation. No EPSS score was provided in the intelligence feed. No CISA KEV listing exists, and no public proof-of-concept was identified in the references. Risk priority should be treated as high for any internet-accessible or multi-user Livebook instance; lower for strictly local single-user deployments where the victim and attacker would be the same person.

Exploit ScenarioDerived

An attacker hosts a crafted .livemd notebook containing a URL-type file entry with a path-traversal name such as ../../.bashrc pointing to an attacker-controlled HTTP server returning a malicious shell payload. When the victim opens the notebook in a vulnerable Livebook instance and the URL entry is fetched (triggered during notebook execution or file preview with no cached copy present), Livebook resolves the traversal name outside the session directory and writes the attacker's HTTP response body to the victim's home directory with no warning displayed, potentially poisoning shell startup files or overwriting application configuration.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 05, 2026

Path traversal in Livebook's notebook import pipeline allows an attacker who supplies a crafted .livemd file to write attacker-controlled content to arbitrary filesystem paths accessible by the Livebook process. Affected versions span 0.11.0 through 0.18.6 and 0.19.0 through 0.19.8, and the attack requires no credentials on the target instance - only that the victim open the malicious notebook and trigger a URL entry fetch. No active exploitation (CISA KEV) or public proof-of-concept has been identified at time of analysis, but the attack surface is realistic given Livebook's design as a notebook-sharing platform.

RemediationAI

Upgrade to Livebook 0.18.7 (for the 0.18.x stream) or 0.19.9 (for the 0.19.x stream), as specified in the GitHub Security Advisory at https://github.com/livebook-dev/livebook/security/advisories/GHSA-r4h8-2xpq-v48g. The patched releases apply name validation to the import parser for all file entry types, closing the traversal path. Note: fix version numbers are stated in the advisory but were not independently verified against a published Hex.pm release tag in the provided data. If immediate upgrade is not possible, restrict the Livebook instance to authenticated, trusted users only and prohibit opening notebooks from untrusted sources - this addresses the UI:A user-interaction requirement that is the primary exploitation gate. Blocking outbound HTTP from the Livebook process at the network layer would prevent the URL-fetch step that triggers the file write, but would also disable legitimate URL-type file entries as a side effect. There is no in-product warning for malicious URL-type entries, so user training alone is insufficient as a compensating control.

Affected VersionsENISA

livebook c02eb984f80a543c7a52b1d882c76f56aa5be743 <*
livebook 0.19.0-cuda12 <0.19.9-cuda12
livebook 0.11.0-cuda12 <0.18.7-cuda12
livebook 0.19.0 <0.19.9
livebook 0.11.0 <0.18.7

Affected Packages

euvd livebook fix: 0.18.7-cuda12, 0.18.7, 0.19.9-cuda12, 0.19.9

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Livebook is an Elixir-based interactive notebook platform (analogous to Jupyter) that parses .livemd files declaring file_entries metadata. The root cause is CWE-23 (Relative Path Traversal): the import parser Livebook.LiveMarkdown.Import.file_entry_metadata_to_attrs/1 in lib/livebook/live_markdown/import.ex accepts the name field from notebook source verbatim, bypassing the validation enforced on the UI path by Livebook.Notebook.validate_file_entry_name/2. For URL-type entries, Livebook.Session.file_entry_cache_file/2 resolves that unvalidated name beneath the session's temporary directory via Livebook.FileSystem.Utils.resolve_unix_like_path/2, which collapses ../ segments but clamps only at the filesystem root rather than the session boundary. When the entry URL is fetched and no cached copy exists, Livebook writes the HTTP response body to the resolved path, creating parent directories as needed - giving the attacker control over both write destination and written content. The same missing containment exists in Livebook.Session.to_attachment_file_entry/2. The fix (commits 1443dd23, 50f86982, acf4cb8c) retrofits validate_file_entry_name validation into the import path for all three entry types (attachment, file, url), mirroring the UI-enforced allowlist of alphanumerics, dashes, underscores, and dots with a required extension.

Know when Livebook gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (6b3ad84c-e1a6-4bf7-a703-f496b71e49db) PRIMARY 7.0 HIGH
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
vuln.today AI 7.1 HIGH

Network delivery with no required privileges (PR:N) but mandatory victim interaction to trigger fetch (UI:R); no confidentiality impact, high integrity from arbitrary attacker-controlled file write.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (6b3ad84c-e1a6-4bf7-a703-f496b71e49db).

CVSS VectorVendor: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 05, 2026 - 21:03 EUVD
CVE Published
Aug 05, 2026 - 20:17 cve.org
HIGH 7.0

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Livebook versions 0.11.0-0.18.6 and 0.19.0-0.19.8 contain an unauthenticated path traversal vulnerability in the notebook import pipeline, allowing attackers who supply a crafted .livemd file to write arbitrary content to any filesystem path accessible by the Livebook process. Organizations that share Livebook notebooks internally face material risk of data exfiltration and system compromise if users open malicious files. No vendor-released patch identified at time of analysis, making immediate operational controls essential.

Business Impact: High
Compensating Controls

Restrict Livebook instances to trusted internal networks only. Disable or restrict notebook import functionality. Implement filesystem access controls limiting process write permissions to non-critical directories. Establish a notebook source allowlist permitting only internal repositories. Conduct user training to refuse notebooks from external or unverified sources.

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Medium
popular Elixir notebook tool, significant but ecosystem-niche adoption
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy