Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-66297: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in livebook-dev livebook

0
Medium
VulnerabilityCVE-2026-66297cvecve-2026-66297cwe-78
Published: 08/05/2026 (08/05/2026, 19:43:58 UTC)
Source: CVE Database V5
Vendor/Project: livebook-dev
Product: livebook

Description

CVE-2026-66297 is an OS Command Injection vulnerability in livebook-dev livebook affecting versions 0.13.0 through before 0.18.7 and 0.19.0 through before 0.19.9. It arises from improper neutralization of special elements in deployment setup commands generated for Docker and Fly.io, allowing command injection via deployment group environment variables. The injected commands execute on the machine of the user who copies and runs the generated command from the Livebook web interface. Exploitation requires privileges to set deployment group environment variables. Kubernetes instructions are not affected due to different rendering with escaping.

CVSS v4.0

Score 5.0medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
High
User Interaction
Active
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
High
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H

Affected software

livebook
pkg:hex/livebook
Affected versions
>=0.13.0 <0.18.7>=0.19.0 <0.19.9
GitHub Actionsmore threats →cve
livebook-dev/livebook
pkg:github/livebook-dev/livebook
CPE configurations
cpe:2.3:a:livebook-dev:livebook:*:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/05/2026, 20:43:39 UTC

Technical Analysis

The vulnerability in livebook-dev livebook occurs in the LivebookWeb.Hub.Teams.DeploymentGroupAgentComponent module, specifically in the docker_instructions/2 and fly_instructions/4 functions. These functions interpolate deployment group environment variable values directly into shell commands without proper shell escaping. Because the values are placed inside double-quoted shell words, an attacker can inject command substitutions (e.g., $(...) or backticks) that the shell evaluates. This leads to arbitrary command execution on the client machine when a user copies and runs the generated command. The vulnerability requires the attacker to have privileges to set deployment group environment variables. Kubernetes deployment instructions are unaffected as they use YAML manifests with proper escaping. The affected versions are from 0.13.0 before 0.18.7 and from 0.19.0 before 0.19.9.

Potential Impact

An attacker with privileges to set deployment group environment variables can inject arbitrary shell commands into deployment setup commands generated for Docker and Fly.io. These commands execute on the machine of the user who copies and runs the generated command from the Livebook web interface, potentially leading to command execution under the user's account. The vulnerability does not allow remote code execution on the server but relies on social engineering or user action to run the malicious command locally. Kubernetes deployment instructions are not vulnerable.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should carefully review any generated deployment commands before copying and executing them, especially those related to Docker and Fly.io setups. Restrict privileges to set deployment group environment variables to trusted users only to reduce risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-07-24T14:10:01.114Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a739c88bf8831d5396b300e

Added to database: 08/05/2026, 20:26:48 UTC

Last enriched: 08/05/2026, 20:43:39 UTC

Last updated: 08/05/2026, 22:16:03 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses