Kobako sandbox escape CVE-2026-55107: upgrade to 0.9.1
Kobako Ruby gem before 0.9.1 allows guest mruby scripts to escape the Wasm sandbox and run arbitrary Ruby in the host process. Check your installed version and upgrade.
Published by phil.on on
How this vulnerability works
Kobako lets an application run untrusted Ruby scripts in a sealed-off interpreter, but before version 0.9.1 a script inside that seal could break out and run with the application's own power.
- How it starts
An untrusted script is submitted
The hosting application accepts a Ruby script from an outside source, such as an AI assistant, a user formula, a student answer or a third-party plugin, and passes it to Kobako to run inside its sealed area.
- What goes wrong
The seal does not hold
The sealed interpreter is meant to stop the script from reaching the host's memory, files, network or credentials. Instead, the script can run arbitrary Ruby directly in the host process, so the barrier simply fails.
- What it means for you
The script gains the app's power
Because the script runs as part of the hosting application, it could read private records, change data or reach anything the application can reach. Who is affected depends on whose scripts an installation accepts; the source does not say this was exploited.
An everyday comparisonIt is like letting a visitor write in a locked guest room, only to find they can open the door from the inside and use everything in the house as if it were their own.
A simplified explanation of the reported flaw. Actual risk depends on the affected version and how the system is used.
Affected products
- Kobako (Ruby gem) — versions
>= 0.1.0, < 0.9.1are affected. Fixed in0.9.1. - CVSS: 10.0 (Critical) —
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - The affected version range is confirmed by the vendor (CNA) record; the source does not list other products.
- elct9620 kobako ↗elct9620 / kobako: >= 0.1.0, < 0.9.1 | affected
Why it matters
Kobako is a Ruby gem that embeds a Wasm-isolated mruby interpreter so applications can run untrusted Ruby code (for example LLM-generated code, user formulas, student submissions or third-party plugins) in-process while denying it access to host memory, files, network and credentials. In versions from 0.1.0 up to but not including 0.9.1, a guest script running inside the sandbox can execute arbitrary Ruby in the host process, fully escaping the isolation boundary.
In practice, this means any untrusted script executed through the affected gem should be treated as able to run with the privileges of the host Ruby application, reaching its data and credentials. Because the input is untrusted and the flaw is remotely reachable per the CVSS vector, applications that execute user-supplied or third-party scripts through Kobako carry the highest risk. The issue is fixed in version 0.9.1.
Checks and remediation
What to check
- Inventory every application, service and container image that depends on the Kobako gem.
- Check the resolved version with
bundle list | grep kobakoorgem list kobakoin each deployed environment (development, staging, production). - Inspect
Gemfile.lockin repositories to find applications pinned to a version>= 0.1.0and< 0.9.1. - Identify which of these applications execute untrusted Ruby scripts (LLM output, user formulas, student submissions, third-party plugins) through Kobako, since those carry the greatest exposure.
- Search application logs for unexpected errors or behavior originating from sandboxed script execution, and review who can supply scripts to the sandbox.
Remediation steps
- Self-hosted Linux/Ubuntu hosts, containers and build pipelines: update the dependency to Kobako
0.9.1or later. Prefer updatingGemfileand runningbundle update kobako, then confirmGemfile.lockrecords0.9.1or newer. Rebuild and redeploy any container images or artifacts that bundle the gem so the fixed version ships. The application owner or platform team that manages the host is responsible for this patch. - AWS: update the dependency in the application source, rebuild images (for example in ECR) and redeploy to the compute service you operate (for example ECS, EKS or Lambda). Confirm the
Gemfile.lockinside the deployed artifact shows0.9.1or later. Environments you manage remain your responsibility; managed runtime services only provide the base platform, not application dependency updates. - GCP: apply the same dependency update, rebuild images (for example in Artifact Registry) and redeploy to the service you operate (for example Cloud Run, GKE or Cloud Functions). Confirm the deployed artifact contains the fixed gem version. Customer-managed workloads must be patched by your team; managed platform components do not update this gem for you.
- Restrict who can submit scripts to Kobako sandboxes until every affected deployment is upgraded, and treat script input from untrusted sources as high risk during the transition.
- If an immediate upgrade is not possible, consult the vendor advisory for reversible defensive options; the source does not publish a workaround.
Verification
- Run
bundle list | grep kobako(orgem list kobako) in every environment and confirm version0.9.1or later. - Confirm the
Gemfile.lockcommitted to each repository and embedded in deployed artifacts reflects the fixed version. - Exercise a representative sandboxed script path to confirm normal operation after redeployment, and confirm no host-level effects are observed.
- Record the upgrade and verification results in your vulnerability tracking system and re-scan dependencies to confirm CVE-2026-55107 no longer matches.
Patch status
Patch status unconfirmed.
Workarounds
Workaround not documented.
CVSS and CWE
CVSS 3.1 · 10.0 · GitHub_M ↗CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Additional CVSS assessments by source and scope
- CVSS 3.1 · 10.0 · [email protected] ↗
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - CVSS 3.1 · 10.0 · GitHub_M ↗
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H





