CVE-2026-81097 HIGH

CVE-2026-81097: rails-mcp-server 1.4.0 through 1.6.0 OS Command Execution via execute_ruby PTY Escape

Vendor Maquina-App
Product rails-mcp-server
Weakness CWE-78
Published August 27, 2026
Last update August 29, 2026

CVSS base score

8.6/10
Attack vector Local
Attack complexity Low
Privileges required None
User interaction None
Confidentiality —
Integrity —

CVSS vector

CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

What the vulnerability does

01Description

The execute_ruby tool is documented as a read-only Ruby sandbox and is enforced by a pattern denylist together with replacements for the process-spawning methods on Kernel. The pseudo-terminal library's spawn entry points are neither in the denylist nor replaced, so a normal tool call could reach them and start a shell, executing commands as the account running the server and outside the guarded methods. The denylist was introduced with the tool in 1.4.0 and never covered those entry points through 1.6.0. Version 1.6.1 restricts the requires the sandbox permits to a data-only list and blocks dynamic dispatch to execution entry points; 2.0.0 removes the tool.

Key dates

02Disclosure timeline

August 27, 2026 CVE published
August 29, 2026 Record updated

Related vulnerabilities

04Related CVE