Skip to content

CVE-2026-73222 — Claude Code Templates is a CLI tool for configuring and monitoring Claude Code.

Key facts

CVE-2026-73222 is a High (8.8) vulnerability: Claude Code Templates is a CLI tool for configuring and monitoring Claude Code.. This entry ships a detection-only PoC and a Docker test lab.

CVE CVE-2026-73222
Severity High (8.8)
Detection / prevention —
PoC poc.py
Source 2026/CVE-2026-73222/

Details

English | 한국어

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.

Vulnerability Details

Property Value
CVE ID CVE-2026-73222
Type RCE
CVSS Score 8.8

Proof of Concept

Download

# Download PoC script
curl -O https://raw.githubusercontent.com/fankh/vulnerability-poc/main/2026/CVE-2026-73222/poc.py

Usage

# Run PoC against target
python3 poc.py --target <TARGET_URL>

# With authentication
python3 poc.py --target <TARGET_URL> --username <USER> --password <PASS>

⚠️ Warning: This PoC is for authorized security testing only. It uses detection-only techniques and does not exploit or damage target systems.

Test Lab

This repository includes a Docker-based test environment with both vulnerable and patched applications.

Quick Start

# Clone and navigate to CVE directory
cd CVE-2026-73222

# Start both applications
docker-compose up -d

# Run tests
./run-tests.sh    # Linux/Mac
./run-tests.ps1   # Windows PowerShell

Application Endpoints

Application URL Status
Vulnerable App http://localhost:8080 Shows vulnerability
Patched App http://localhost:8081 Demonstrates fix

Directory Structure

├── README.md           # English documentation
├── README_KO.md        # Korean documentation
├── poc.py              # PoC detection script
├── docker-compose.yml  # Container orchestration
├── run-tests.sh        # Linux/Mac test runner
├── run-tests.ps1       # Windows test runner
├── vulnerable-app/     # Vulnerable version
│   ├── app.py
│   ├── Dockerfile
│   └── requirements.txt
└── patched-app/        # Fixed version
    ├── app.py
    ├── Dockerfile
    └── requirements.txt

References

  • https://github.com/davila7/claude-code-templates/blob/main/CHANGELOG.md
  • https://github.com/davila7/claude-code-templates/commit/bc4618b07232633c1c0aac12a43e436268d31783
  • https://github.com/davila7/claude-code-templates/security/advisories/GHSA-79wm-x847-7cvg

Generated by PoC Generator on 2026-08-13T11:32:51.977545252

Frequently asked questions

What is CVE-2026-73222?

CVE-2026-73222 is a High (8.8) vulnerability: Claude Code Templates is a CLI tool for configuring and monitoring Claude Code.. This entry ships a detection-only PoC and a Docker test lab.

How do I detect CVE-2026-73222?

Run the detection-only PoC included with this entry against your Docker test lab to confirm whether a target is affected; pair it with your own IDS logging.

How do I block or mitigate CVE-2026-73222?

Upgrade to a fixed version per the vendor advisory; the NVD record lists the affected versions. Use the included PoC to verify your remediation.


For authorized security testing and research only. See the full source and NVD record.