CVE-2026-73222: Claude Code Templates: Unauthenticated OS command injection (RCE) in Claude Code Studio server (--studio)
Claude Code Templates is a CLI tool for configuring and monitoring Claude Code. Prior to 1.29.4, the Claude Code Studio server launched by the --studio option in cli-tool/src/sandbox-server.js binds to all interfaces on port 3444, permits cross-origin requests, and requires no authentication. The POST /api/execute endpoint passes the prompt request-body field to executeLocalTask(), and POST /api/install-agent passes the agentName request-body field to a child process. The same unsafe agent field path is reachable from /api/execute through checkAndInstallAgent(). These attacker-controlled values reach childprocess.spawn() with shell execution enabled, causing Node.js to construct a shell command in which metacharacters are interpreted. An attacker who can reach the port directly, or who convinces a developer running Studio to visit a malicious website, can execute arbitrary operating-system commands with the developer's privileges and compromise source code, credentials, and local data. This issue is fixed in version 1.29.4.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Claude Code Templates / Claude Code Studio server (--studio)to a version that resolves this vulnerability.Fixed in 1.29.4
Event History
Frequently Asked Questions
What is the severity of CVE-2026-73222?
CVE-2026-73222 has a high severity rating of 8.8 on the CVSS scale.
How do I fix CVE-2026-73222?
To fix CVE-2026-73222, upgrade to Claude Code Templates version 1.29.4 or later.
What type of vulnerability is CVE-2026-73222?
CVE-2026-73222 is classified as an unauthenticated OS command injection vulnerability.
What potential impact does CVE-2026-73222 have?
CVE-2026-73222 could allow an attacker to execute arbitrary OS commands on the server.
What components are affected by CVE-2026-73222?
CVE-2026-73222 affects the Claude Code Studio server when launched with the --studio option.