Skip to content

OS Command Injection in claude-code-templates

CVE-2026-73222 First seen on SecPulse

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Claude Code Templatesの--studioオプションで起動するStudioサーバーに認証不備があり、遠隔から任意のOSコマンドを実行されるおそれがあります。影響を受けるのは1.29.4より前のバージョンで、1.29.4で修正されています。npmで1.29.4以降に更新してください。

What is the problem

Claude Code TemplatesのCLIツールの脆弱性。

Affected scope

バージョン1.29.4以前のClaude Code Studioのサーバー。

Severity

攻撃者が任意のOSコマンドを実行できるため、システムの完全な制御が可能となり、高度なリスクがあります。

How to fix

バージョン1.29.4にアップデートすること。

Workaround

情報なし

Detection

ポート3444で不審なアクセスを監視し、意図しないシェル実行を確認する。

Affected packages

PackageAffected → Fixed
npmclaude-code-templates
< 1.29.4→ 1.29.4
Original description The description as published by the source.

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 child_process.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.

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details