{"id":"CVE-2026-73222","state":"PUBLISHED","title":"Claude Code Templates: Unauthenticated OS command injection (RCE) in Claude Code Studio server (--studio)","description":"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.","publishedAt":"2026-08-11T18:27:09.297Z","updatedAt":"2026-08-13T13:54:28.645Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["davila7 claude-code-templates"],"affected":[{"vendor":"davila7","product":"claude-code-templates","versions":[{"version":"< 1.29.4","status":"affected"}]}],"references":["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"],"weaknesses":["CWE-78","CWE-306","CWE-352"],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/73xxx/CVE-2026-73222.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-73222","state":"PUBLISHED","datePublished":"2026-08-11T18:27:09.297Z","dateUpdated":"2026-08-13T13:54:28.645Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-11T14:41:20.122Z"},"containers":{"cna":{"title":"Claude Code Templates: Unauthenticated OS command injection (RCE) in Claude Code Studio server (--studio)","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"davila7","product":"claude-code-templates","versions":[{"version":"< 1.29.4","status":"affected"}]}],"references":[{"url":"https://github.com/davila7/claude-code-templates/security/advisories/GHSA-79wm-x847-7cvg","name":"https://github.com/davila7/claude-code-templates/security/advisories/GHSA-79wm-x847-7cvg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/davila7/claude-code-templates/commit/bc4618b07232633c1c0aac12a43e436268d31783","name":"https://github.com/davila7/claude-code-templates/commit/bc4618b07232633c1c0aac12a43e436268d31783","tags":["x_refsource_MISC"]},{"url":"https://github.com/davila7/claude-code-templates/blob/main/CHANGELOG.md","name":"https://github.com/davila7/claude-code-templates/blob/main/CHANGELOG.md","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-306","lang":"en","description":"CWE-306: Missing Authentication for Critical Function","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-352","lang":"en","description":"CWE-352: Cross-Site Request Forgery (CSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-11T18:27:09.297Z"},"source":{"advisory":"GHSA-79wm-x847-7cvg","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/davila7/claude-code-templates/security/advisories/GHSA-79wm-x847-7cvg","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-13T13:54:20.643368Z","id":"CVE-2026-73222","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-13T13:54:28.645Z"}}]}}}