PatchSiren cyber security CVE debrief
CVE-2026-66297 livebook-dev CVE debrief
The livebook application has an Improper Neutralization of Special Elements used in an OS Command vulnerability, allowing command injection into generated deployment setup commands. This affects livebook versions from 0.13.0 before 0.18.7 and from 0.19.0 before 0.19.9. The vulnerability is caused by LivebookWeb.Hub.Teams.DeploymentGroupAgentComponent.docker_instructions/2 and LivebookWeb.Hub.Teams.DeploymentGroupAgentComponent.fly_instructions/4 interpolating deployment group environment variable values into generated Docker and Fly.io setup commands without shell escaping. An attacker requires privileges to set deployment group environment variables, while code execution occurs on the machine of whoever runs the generated command. Livebook users and administrators should be aware of this vulnerability and take steps to patch or mitigate it, including reviewing generated deployment setup commands, restricting privileges for setting environment variables, and monitoring for suspicious activity.
- Vendor
- livebook-dev
- Product
- livebook
- CVSS
- MEDIUM 4.9
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-08-05
- Original CVE updated
- 2026-08-06
- Advisory published
- 2026-08-05
- Advisory updated
- 2026-08-06
Who should care
Livebook users and administrators should be aware of this vulnerability and take steps to patch or mitigate it. This includes reviewing generated deployment setup commands, restricting privileges for setting environment variables, and monitoring for suspicious activity.
Technical summary
The livebook application has an Improper Neutralization of Special Elements used in an OS Command vulnerability. This allows for command injection into generated deployment setup commands. The vulnerability affects livebook versions from 0.13.0 before 0.18.7 and from 0.19.0 before 0.19.9. An attacker requires privileges to set deployment group environment variables, while code execution occurs on the machine of whoever runs the generated command.
Defensive priority
Livebook users should prioritize patching to prevent potential command injection attacks.
Recommended defensive actions
- Patch livebook to version 0.18.7 or later, or 0.19.9 or later
- Review and validate generated deployment setup commands before execution
- Restrict privileges for setting deployment group environment variables
- Monitor for suspicious activity and implement compensating controls
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
Evidence notes
The CVE-2026-66297 record indicates an Improper Neutralization of Special Elements used in an OS Command vulnerability in livebook. LivebookWeb.Hub.Teams.DeploymentGroupAgentComponent.docker_instructions/2 and LivebookWeb.Hub.Teams.DeploymentGroupAgentComponent.fly_instructions/4 interpolate deployment group environment variable values into generated Docker and Fly.io setup commands without shell escaping. Limited information is available on affected versions and vendor remediation.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-66297 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-66297
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-66297 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-66297
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://cna.erlef.org/cves/CVE-2026-66297.html
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
-
Source reference
Unverified legacy reference
URL: https://github.com/livebook-dev/livebook/commit/0c2487326bbb37cb1eb43bb2f76eb93ad9f8fd6b
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
-
Source reference
Unverified legacy reference
URL: https://github.com/livebook-dev/livebook/commit/b2a8416d149043132fe5a14ed611e0fefc9dc9cd
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
-
Source reference
Unverified legacy reference
URL: https://github.com/livebook-dev/livebook/commit/f8fe9c62cb8bfc1dd0ccda4ea4a57c5e91563c85
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
-
Source reference
Unverified legacy reference
URL: https://github.com/livebook-dev/livebook/security/advisories/GHSA-qpjc-w5mm-73mj
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
-
Source reference
Unverified legacy reference
URL: https://osv.dev/vulnerability/EEF-CVE-2026-66297
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.