PT-2026-82570 · Git+1 · Rails-Mcp-Server
CVSS v4.0
8.6
High
| Vector | AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Software versions 1.4.0 through 1.6.0
Description
The
execute ruby tool, designed as a read-only Ruby sandbox, uses a pattern denylist and replacements for process-spawning methods on Kernel to restrict execution. However, spawn entry points within the pseudo-terminal library are not included in the denylist or replaced. This allows a tool call to access these entry points and start a shell, enabling the execution of commands as the account running the server, bypassing the guarded methods.Recommendations
Update to version 1.6.1 to restrict permitted requires to a data-only list and block dynamic dispatch to execution entry points.
Update to version 2.0.0 to remove the tool entirely.
Exploit
Fix
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Rails-Mcp-Server