Kobako
Kobako Vulnerable to Sandbox Escape: guest eval reaches host RCE via method_missing → public_send (any bound Service)
Kobako is a Ruby gem that embeds a Wasm-isolated mruby interpreter inside applications, allowing execution of untrusted Ruby scripts (LLM-generated code, user formulas, student submissions, third-party plugins) in-process without giving them access to host memory, files, network, or credentials. From version 0.1.0 to before version 0.9.1, a guest mruby script running inside the Kobako sandbox can execute arbitrary Ruby in the host process, fully escaping the sandbox. This issue has been patched in version 0.9.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.1.0, < 0.9.1
Fixed in 0.9.1
Mitigation
Upgrade kobako to 0.9.1 or later.
References
- Vendor advisory github.com/elct9620/kobako/security/advisories…
- Patch github.com/elct9620/kobako/commit/64f84700c81f…
- Release notes github.com/elct9620/kobako/releases/tag/v0.9.1
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.