RubySec

Providing security resources for the Ruby community

CVE-2026-55107 (kobako): kobako Sandbox Escape - guest eval reaches host RCE via method_missing → public_send (any bound Service)

kobako Sandbox Escape - guest eval reaches host RCE via method_missing → public_send (any bound Service)

Published: August 18, 2026

SECURITY IDENTIFIERS

GEM

kobako

SEVERITY

CVSS v3.x: 10.0 (Critical)

PATCHED VERSIONS

>= 0.9.1

DESCRIPTION

Summary

A guest mruby script running inside the Kobako sandbox can execute arbitrary Ruby in the host process, fully escaping the sandbox.

Impact

Complete sandbox escape leading to remote code execution in the host process, defeating the gem's central guarantee of isolating untrusted mruby scripts. Any deployment that runs untrusted or attacker-influenced scripts is affected. All released versions (0.1.0 through 0.9.0) are vulnerable; the dispatcher carried the same unguarded public_send sink under three successive names (registryrpctransport).

Credits

Reported and fixed by Ahmed Al Hafoudh.

RELATED