Home / livebook-dev / livebook / CVE-2026-66297
CVE-2026-66297: is it exploited, and which versions of livebook-dev livebook are affected and fixed?
CVE-2026-66297 is an OS command injection 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, 18:39 UTC). Affected: livebook from 0.13.0 before 0.18.7, livebook from 0.19.0 before 0.19.9, livebook from 0.13.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: Medium (5.0, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record December 2, 2026, 12:47 UTC and NVD December 2, 2026, 14:13 UTC.
What is CVE-2026-66297?
Unescaped deployment environment variables in generated setup commands
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.
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.13.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.13.0 before 0.18.7 from 0.13.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.13.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-66297?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.0 | CVSS 4.0 | 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 | EEF |
| High 8.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/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-66297 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
- 2.14% probability of exploitation activity in the next 30 days, percentile 82.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Where are the vendor advisories and references?
- Unescaped deployment environment variables in generated setup commands vendor-advisory, related
- EEF CNA record for CVE-2026-66297 related
- OSV record EEF-CVE-2026-66297 related
- Introducing commit 7cf4af5 in livebook-dev/livebook related
- Fix commit 0c24873 in livebook-dev/livebook patch
- Fix commit b2a8416 in livebook-dev/livebook patch
- Fix commit f8fe9c6 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 24, 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, 18:39 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-66881 livebook-dev livebook: path traversal
- 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-66297
Is CVE-2026-66297 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 2.14% 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-66297?
livebook from 0.13.0 before 0.18.7, livebook from 0.19.0 before 0.19.9, livebook from 0.13.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-66297?
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-66297?
Medium (5.0, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-66297?
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.