Skip to content
Noroxi
NVD / CVE Program· CNA EEF

CVE-2026-66297: Unescaped deployment environment variables in generated setup commands

MediumCVSS 5.0 · v4.0—No exploit Fix available

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

Report tools

JSON

Action score

21

Monitor

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.

Follow CVE-2026-66297

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi 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 help

Affected 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.

VendorProduct
livebooklivebook

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.

EcosystemPackageAffected rangeFix
Hexlivebookfrom 0.13.0 · before 0.18.70.18.7
Hexlivebookfrom 0.19.0 · before 0.19.90.19.9

Other highest-scoring records for the same primary product.

  • CVE-2023-35174Livebook Desktop's protocol handler can be exploited to execute arbitrary command on Windows
    39Monitor
  • CVE-2026-66298JS-view sandboxed output can synthesize keyboard events to trigger unconfirmed global shortcuts
    34Monitor
  • CVE-2026-68746Livebook Teams identity check fails open when the deployment group is unresolvable, allowing unauthenticated access
    30Monitor

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 download
    28Monitor
  • Later →CVE-2026-66885Aug 5, 2026 · Livebook Teams identity callback lacks state binding, allowing login CSRF
    27Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
livebook-dev livebook0.18.7Vendor (CNA)
livebook-dev livebook0.18.7-cuda12Vendor (CNA)
livebook-dev livebook0.19.9Vendor (CNA)
livebook-dev livebook0.19.9-cuda12Vendor (CNA)
livebook-dev livebook0c2487326bbb37cb1eb43bb2f76eb93ad9f8fd6bVendor (CNA)
livebook-dev livebookb2a8416d149043132fe5a14ed611e0fefc9dc9cdVendor (CNA)
livebook-dev livebookf8fe9c62cb8bfc1dd0ccda4ea4a57c5e91563c85Vendor (CNA)
Hex:livebook0.18.7Package registry (OSV)
Hex:livebook0.19.9Package 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.

EPSS, last 120 days

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.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

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 access
    30Monitor

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

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.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
const host = req.body.host;exec("ping -c 1 " + host, onResult);

Fixed

ts
const host = req.body.host;if (!/^[a-z0-9.-]{1,253}$/i.test(host)) return res.sendStatus(400);execFile("ping", ["-c", "1", host], onResult);

References

All records