<?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>Claude-Code-Templates (&lt;= 1.29.2) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/claude-code-templates--1.29.2/</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>Fri, 04 Sep 2026 00:07:10 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/claude-code-templates--1.29.2/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>Unauthenticated Remote Code Execution in Claude Code Studio</title><link>https://feed.craftedsignal.io/briefs/2026-09-claude-code-rce/</link><pubDate>Fri, 04 Sep 2026 00:07:10 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-claude-code-rce/</guid><description>An unauthenticated OS command injection vulnerability in the Claude Code Studio HTTP server allows remote attackers to execute arbitrary code via drive-by web requests or local network access.</description><content:encoded><![CDATA[<p>Claude Code Studio, an HTTP server provided by the <code>claude-code-templates</code> npm package (v1.29.2 and earlier), contains a critical OS command injection vulnerability (CVE-2026-73222). When invoked via <code>npx claude-code-templates --studio</code>, the application binds an Express server to all network interfaces (0.0.0.0) on port 3444 without authentication. The server explicitly allows cross-origin requests by setting <code>Access-Control-Allow-Origin: *</code>.</p>
<p>Two API endpoints, <code>/api/execute</code> and <code>/api/install-agent</code>, pass user-controlled input fields directly into <code>child_process.spawn</code> with the <code>{ shell: true }</code> option. This configuration instructs Node.js to invoke the shell to interpret the command string, causing shell metacharacters provided in input fields to execute as system commands. Any unauthenticated attacker with network reachability to the developer's machine, or a malicious website capable of performing a cross-origin POST request, can achieve remote code execution with the developer's privileges.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The developer executes <code>npx claude-code-templates --studio</code> on their local machine, starting an insecure HTTP server on port 3444.</li>
<li>The server binds to <code>0.0.0.0</code>, making it accessible to any device on the local network (LAN) and susceptible to cross-origin web requests.</li>
<li>An attacker triggers an HTTP POST request to the <code>/api/execute</code> or <code>/api/install-agent</code> endpoint.</li>
<li>The request payload includes malicious command injection syntax (e.g., <code>; touch /tmp/pwned</code>) within the <code>prompt</code> or <code>agentName</code> fields.</li>
<li>The Express server receives the payload and passes the unvalidated input strings into <code>child_process.spawn</code>.</li>
<li>Because <code>shell: true</code> is enabled, the Node.js runtime executes the input through the system shell (e.g., <code>sh -c</code>).</li>
<li>The system shell interprets the injected metacharacters, executing the attacker's arbitrary command.</li>
<li>The attacker achieves full code execution on the developer's host, gaining access to local files, SSH keys, and environment secrets.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The vulnerability results in total compromise of the developer's local account. Successful exploitation grants an attacker the ability to exfiltrate source code, SSH keys, cloud credentials, and sensitive environment variables. This affects all developers utilizing the <code>--studio</code> mode of the Claude Code Templates tool globally.</p>
<h2 id="recommendation">Recommendation</h2>
<p>Prioritized actions for detection and mitigation:</p>
<ul>
<li>Upgrade <code>claude-code-templates</code> to a version strictly newer than 1.29.2 as soon as a patch is available.</li>
<li>Until patched, avoid using the <code>--studio</code> flag or ensure the local machine is not reachable by untrusted networks.</li>
<li>Deploy the provided detection rule to monitor for suspicious POST requests to local ports 3444 or related studio services.</li>
<li>Restrict network access to the port 3444 by implementing host-based firewall rules to permit only localhost traffic.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>remote-code-execution</category><category>injection</category><category>express</category><category>nodejs</category></item></channel></rss>