CVE-2026-66297: Unescaped deployment environment variables in generated setup commands
Noroxi assessment
Priority: Monitor (action score 21/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.4% (FIRST EPSS); higher than 84.7% of all records.
- Anyone who can reach it over the internet can trigger it. Administrator privileges are required. No special conditions are required; it is repeatable.
- Fixed version: livebook-dev livebook 0.18.7, 0.18.7-cuda12, 0.19.9.
Low priority for now. Upgrade to livebook-dev livebook 0.18.7, 0.18.7-cuda12, 0.19.9 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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
- Aug 5, 2026
- Updated
- Nov 10, 2026
- EPSS
- 2.4% · 84th percentile
- CWE
- CWE-78
Report tools
Action score
21
Low priority for now.
- CVSS
- 20 / 40 · 5.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.4%
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · EEF
- 5.0
- NVD has not scored this yet; the score shown is the CNA’s.
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
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| livebook | livebook | cpe:2.3:a:livebook:livebook |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (EEF). Independent of NVD's CPE analysis and usually ahead of it.
livebook-dev livebook
- 0.13.0 and later · before 0.18.7affected · semver
- 0.19.0 and later · before 0.19.9affected · semver
- 0.13.0 and later · before 0.18.7affected · other
- 0.13.0-cuda12 and later · before 0.18.7-cuda12affected · other
- 0.19.0 and later · before 0.19.9affected · other
- 0.19.0-cuda12 and later · before 0.19.9-cuda12affected · other
- 7cf4af5c10ec645f55a10f30e5661c54f6a6b319 and lateraffected · gitfixed in b2a8416d149043132fe5a14ed611e0fefc9dc9cd, 0c2487326bbb37cb1eb43bb2f76eb93ad9f8fd6b, f8fe9c62cb8bfc1dd0ccda4ea4a57c5e91563c85
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- livebook livebook0.13.0 and later · before 0.18.7
- livebook livebook0.19.0 and later · before 0.19.9
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Hex | livebook | from 0.13.0 · before 0.18.7 | 0.18.7 |
| Hex | livebook | from 0.19.0 · before 0.19.9 | 0.19.9 |
Same product
livebook: all recordsOther highest-scoring records for the same primary product.
- CVE-2023-35174Livebook Desktop's protocol handler can be exploited to execute arbitrary command on Windows39Monitor
- CVE-2026-66298JS-view sandboxed output can synthesize keyboard events to trigger unconfirmed global shortcuts34Monitor
- CVE-2026-68746Livebook Teams identity check fails open when the deployment group is unresolvable, allowing unauthenticated access30Monitor
Published before and after this one in the same product
- Later →CVE-2026-66881Aug 5, 2026 · Path traversal in imported file_entries name allows arbitrary file write via URL-type entry download28Monitor
- Later →CVE-2026-66885Aug 5, 2026 · Livebook Teams identity callback lacks state binding, allowing login CSRF27Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| livebook-dev livebook | 0.18.7 | Vendor (CNA) |
| livebook-dev livebook | 0.18.7-cuda12 | Vendor (CNA) |
| livebook-dev livebook | 0.19.9 | Vendor (CNA) |
| livebook-dev livebook | 0.19.9-cuda12 | Vendor (CNA) |
| livebook-dev livebook | 0c2487326bbb37cb1eb43bb2f76eb93ad9f8fd6b | Vendor (CNA) |
| livebook-dev livebook | b2a8416d149043132fe5a14ed611e0fefc9dc9cd | Vendor (CNA) |
| livebook-dev livebook | f8fe9c62cb8bfc1dd0ccda4ea4a57c5e91563c85 | Vendor (CNA) |
| Hex:livebook | 0.18.7 | Package registry (OSV) |
| Hex:livebook | 0.19.9 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Nguyễn Công Túfinder
- Jonatan Kłoskoremediation developer
- José Valimremediation reviewer
- Jonatan Männchen / EEFanalyst
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
- CVE-2026-687460 days apartLivebook Teams identity check fails open when the deployment group is unresolvable, allowing unauthenticated access30Monitor
Not on record for this CVE: public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- Administrator privileges are required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- Integrity
- Availability
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- High
- User interaction
- A
- Scope
- X
Weakness class (CWE)
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
nvd-secondary
Root cause
User input is inserted as text into a shell command. The shell may interpret special characters in the input as part of the command.
The bug in code
The whole CWE-78 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const host = req.body.host;
exec("ping -c 1 " + host, onResult);Fixed
const host = req.body.host;
if (!/^[a-z0-9.-]{1,253}$/i.test(host)) return res.sendStatus(400);
execFile("ping", ["-c", "1", host], onResult);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Command DelimitersCAPEC-15likelihood: High · High
- Exploiting Multiple Input Interpretation LayersCAPEC-43likelihood: Medium · High
- Argument InjectionCAPEC-6likelihood: High · High
- OS Command InjectionCAPEC-88likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (5 more)Show less
- github.com/livebook-dev/livebook/commit/0c2487326bbb37cb1eb43bb2f76eb93ad9f8fd6b
- github.com/livebook-dev/livebook/commit/7cf4af5c10ec645f55a10f30e5661c54f6a6b319
- github.com/livebook-dev/livebook/commit/b2a8416d149043132fe5a14ed611e0fefc9dc9cd
- github.com/livebook-dev/livebook/commit/f8fe9c62cb8bfc1dd0ccda4ea4a57c5e91563c85
- osv.dev/vulnerability/EEF-CVE-2026-66297
Vendor advisories and official records. Exploit/PoC links are deliberately left out.