CVE-2026-81097: maquina-app rails-mcp-server · OS Command Injection
Affects maquina-app rails-mcp-serverSource CVE Database V5
Not known to be exploited · CVSS 8.6 High.
Data as of 26 Nov 2026, 14:59 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| maquina-apprails-mcp-server | Affected
| Fixed in– |
GitHubrails-mcp-serverpkg:github/rails-mcp-serverOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
However, versions 1.6.1 and later include mitigations by restricting the sandbox's permitted requires and blocking dynamic dispatch to execution entry points, and version 2.0.0 removes the vulnerable execute_ruby tool entirely. Users should upgrade to at least version 1.6.1 to benefit from these mitigations or to version 2.0.0 to remove the vulnerable component.
Description
CVE-2026-81097 is a high-severity OS command injection vulnerability in the maquina-app rails-mcp-server affecting versions 1.4.0 through 1.6.0. The vulnerability arises because the execute_ruby tool, intended as a read-only Ruby sandbox, uses a denylist pattern and method replacements to restrict process spawning. However, the pseudo-terminal library's spawn entry points are not covered by this denylist or replacements, allowing an attacker to execute arbitrary commands as the server's user. Version 1.6.1 introduces restrictions on permitted requires and blocks dynamic dispatch to execution entry points, and version 2.0.0 removes the vulnerable tool entirely.
References
- github.com/maquina-app/rails-mcp-server (opens in a new tab)
- github.com/maquina-app/rails-mcp-server/pull/59 (opens in a new tab)
- github.com/maquina-app/rails-mcp-server/releases (opens in a new tab)
- vulncheck.com/advisories/rails-mcp-server-1.4.0-through-1.6.0-os-command-execution-via-execute-ruby-pty-escape (opens in a new tab)