<?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/"><channel><title>Roo Code - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/vendors/roo-code/</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>Mon, 20 Jul 2026 19:22:42 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/vendors/roo-code/feed.xml" rel="self" type="application/rss+xml"/><item><title>Roo Code Command Injection Vulnerability (CVE-2026-63108)</title><link>https://feed.craftedsignal.io/briefs/2026-07-roo-code-command-injection/</link><pubDate>Mon, 20 Jul 2026 19:22:42 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-roo-code-command-injection/</guid><description>A command injection vulnerability in Roo Code versions through 3.54.0 allows attackers to bypass allowlist/denylist enforcement in the auto-approve execute feature. By nesting command substitutions inside parameter expansion defaults, the command parser in parse-command.ts fails to detect the dangerous payloads, leading to their auto-approval and subsequent arbitrary command execution via the shell through execa.</description><content:encoded><![CDATA[<p>A critical command injection vulnerability, identified as CVE-2026-63108, affects Roo Code versions up to and including 3.54.0. This flaw resides within the &quot;auto-approve execute&quot; feature, which is designed to enforce allowlist or denylist policies for executed commands. Attackers can bypass these security measures by carefully crafting malicious inputs that embed command substitutions within parameter expansion defaults. The underlying command parser, specifically in <code>parse-command.ts</code>, fails to correctly identify these nested dangerous payloads. It replaces outer parameter expansions with safe placeholders before scrutinizing for command substitutions, thereby circumventing the <code>containsDangerousSubstitution</code> guard. Consequently, the attacker's commands are mistakenly auto-approved and then executed by the system's <code>execa</code> utility via the shell, leading to arbitrary command execution on the server. This vulnerability poses a severe risk of remote code execution.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker identifies a Roo Code application instance that utilizes the &quot;auto-approve execute&quot; feature, which processes user-supplied command parameters.</li>
<li>The attacker crafts a malicious input string, embedding command substitutions (e.g., <code>$()</code>, <code>`</code>) within shell parameter expansion defaults (e.g., <code>${VAR:-...}</code>, <code>${VAR/.../}</code> ).</li>
<li>This crafted input targets a command prefix or structure that is typically allowlisted or implicitly trusted by the &quot;auto-approve execute&quot; feature.</li>
<li>The vulnerable <code>parse-command.ts</code> component processes the attacker's input, mistakenly replacing the benign-looking outer parameter expansion components with opaque placeholders.</li>
<li>Due to this parsing order, the <code>containsDangerousSubstitution</code> guard fails to detect the truly malicious nested command substitutions, leading to the payload being auto-approved for execution.</li>
<li>The <code>execa</code> utility, which is responsible for executing shell commands, receives and processes the auto-approved, malicious command string.</li>
<li>The attacker's arbitrary commands are executed on the underlying operating system with the privileges of the Roo Code application, potentially leading to full system compromise, data exfiltration, or other severe impacts.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-63108 results in arbitrary command execution on the server hosting the Roo Code application. This could allow attackers to execute any command, bypass security controls, steal sensitive data, install backdoors, or disrupt services. The high CVSS v3.1 Base Score of 8.8 reflects the critical nature of this vulnerability, indicating a significant risk to the confidentiality, integrity, and availability of affected systems. Organizations using vulnerable Roo Code versions are at risk of complete system compromise if an attacker can leverage this flaw.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Patch CVE-2026-63108 by upgrading Roo Code to a version beyond 3.54.0 immediately.</li>
<li>Deploy the Sigma rule &quot;Detect CVE-2026-63108 Exploitation Attempt - Roo Code Command Injection&quot; to your SIEM and investigate any generated alerts for signs of compromise.</li>
<li>Monitor <code>webserver</code> logs for patterns indicative of shell metacharacters and command substitution attempts within URL parameters or POST bodies, especially for applications using the &quot;auto-approve execute&quot; feature.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>command-injection</category><category>rce</category><category>web-vulnerability</category><category>cve</category></item></channel></rss>