<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Execute_ruby (1.4.0 to 1.6.0) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/execute_ruby-1.4.0-to-1.6.0/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Thu, 27 Aug 2026 19:10:25 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/execute_ruby-1.4.0-to-1.6.0/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Sandbox Escape in execute_ruby Tool</title><link>https://feed.craftedsignal.io/briefs/2026-08-ruby-sandbox-bypass/</link><pubDate>Thu, 27 Aug 2026 19:10:25 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-ruby-sandbox-bypass/</guid><description>The execute_ruby tool fails to sanitize the pseudo-terminal library, allowing attackers to escape the Ruby sandbox and execute arbitrary system commands via spawn entry points.</description><content:encoded><![CDATA[<p>The execute_ruby tool, designed as a read-only Ruby sandbox, contains a critical security vulnerability (CVE-2026-81097) in versions 1.4.0 through 1.6.0. The sandbox relies on a pattern-based denylist and method overriding for Kernel process-spawning functions to maintain isolation. However, the pseudo-terminal library's spawn entry points were entirely omitted from these security controls. An attacker capable of triggering a tool call can reach these unprotected entry points to spawn a shell, effectively bypassing the read-only constraints and executing arbitrary commands with the privileges of the server process. This flaw represents a significant risk for any application providing user-controlled Ruby execution environments. The vulnerability is addressed in version 1.6.1, which limits allowed requires to a data-only list and blocks dynamic dispatch to execution methods, while version 2.0.0 removes the tool entirely.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows for full command execution on the host server. This bypasses the intended read-only sandbox restrictions, potentially leading to unauthorized data access, persistence, or lateral movement within the environment where the server process resides.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade the execute_ruby tool to version 1.6.1 or later immediately.</li>
<li>If upgrading is not immediately feasible, remove the execute_ruby tool entirely (version 2.0.0 removal).</li>
<li>Review application logs for unauthorized execution of PTY-related Ruby modules that fall outside the intended business logic scope.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category></item></channel></rss>