Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. claude-code-templates
  4. ›
  5. CVE-2026-73222

CVE-2026-73222: Claude Code Templates: Unauthenticated OS command injection (RCE) in Claude Code Studio server (--studio)

September 3, 2026

npx claude-code-templates --studio launches “Claude Code Studio”, an Express HTTP server (cli-tool/src/sandbox-server.js, default port 3444) that binds to all interfaces (0.0.0.0), sets Access-Control-Allow-Origin: *, and requires no authentication. Two POST endpoints pass attacker-controlled request-body fields into child_process.spawn(..., { shell: true }). Because shell: true makes Node join the argv array into a single sh -c string, the fields are parsed by the shell and metacharacters execute. Any unauthenticated attacker who can reach the port — a malicious web page the developer visits, or anyone on the same LAN — can execute arbitrary OS commands on the developer’s machine.

References

  • github.com/advisories/GHSA-79wm-x847-7cvg
  • github.com/davila7/claude-code-templates/blob/main/CHANGELOG.md
  • github.com/davila7/claude-code-templates/commit/bc4618b07232633c1c0aac12a43e436268d31783
  • github.com/davila7/claude-code-templates/security/advisories/GHSA-79wm-x847-7cvg
  • nvd.nist.gov/vuln/detail/CVE-2026-73222

Code Behaviors & Features

Detect and mitigate CVE-2026-73222 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.29.4

Fixed versions

  • 1.29.4

Solution

Upgrade to version 1.29.4 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-306: Missing Authentication for Critical Function
  • CWE-352: Cross-Site Request Forgery (CSRF)
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

npm/claude-code-templates/CVE-2026-73222.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:20:41 +0000.