Claude Code Templates: Unauthenticated OS command injection (RCE) in Claude Code Studio server (--studio)
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Security bypass, Tampering, Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-306, CWE-352 and CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| davila7 | claude-code-templates | before 1.29.4 | 1.29.4 | Patch available | CNA |
| — | claude-code-templates (npm) | before 1.29.4 | 1.29.4 | Patch available | GHSA-79wm-x847-7cvg |
- claude-code-templates Vendordavila7 Affected before 1.29.4 Fixed in 1.29.4 Patch available CNA
- claude-code-templates (npm) Vendor— Affected before 1.29.4 Fixed in 1.29.4 Patch available GHSA-79wm-x847-7cvg
Remediation
- Fix · CNA claude-code-templates (davila7) Fixed in 1.29.4
- Fix · GHSA-79wm-x847-7cvg claude-code-templates (npm) Fixed in 1.29.4 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-73222
- 2026-10-03 Alias added: GHSA-79wm-x847-7cvg
References
Other 4
- https://github.com/davila7/claude-code-templates/security/advisories/GHSA-79wm-x847-7cvg
- https://github.com/davila7/claude-code-templates/commit/bc4618b07232633c1c0aac12a43e436268d31783
- https://github.com/davila7/claude-code-templates/blob/main/CHANGELOG.md
- https://github.com/davila7/claude-code-templates
Sources
- CVE-2026-73222 · CVE Program
- CVE-2026-73222 · NVD
- FIRST EPSS
- GHSA-79wm-x847-7cvg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences