News · davila7/claude-code-templates · 2 min read
Event date: · Published:
claude-code-templates patches unauthenticated API proxy flaw
GitHub Security Advisories disclosed and patched CVE-2026-139894, a moderate severity flaw in claude-code-templates where the local Claude API proxy had no authentication.
GitHub Security Advisories published an advisory on December 1, 2026 confirming that claude-code-templates, a widely used npm CLI tool for scaffolding Claude Code project and agent templates, has patched a flaw in which its local Claude API proxy had no authentication at all. The full write-up is available in the claude-code-templates missing authentication in Claude API proxy advisory.
What changed
- Tracked as CVE-2026-139894 (
GHSA-p4c2-8gcv-5m2v), the issue carries a CVSS score of 5.3 (Moderate) and is classified as CWE-287, improper authentication. - The flaw sits in
cli-tool/src/claude-api-proxy.js: the tool's local Claude API proxy accepted requests without checking any credentials. - It is remotely exploitable through network manipulation, though exploitation requires passive user interaction.
- Versions up to 1.29.6 are affected.
- The fix landed in versions 1.29.7 and 1.31.0.
- The patch itself is commit
ed9fc5db53277a96b20ccf8a45dd74b9f405cd38.
What it means for people who build with AI
claude-code-templates is a companion tool that many Claude Code users install directly on their machines to scaffold projects and agents, so an unauthenticated local proxy for the Claude API is more than a theoretical bug: it is a direct credential and request hijack risk on developer machines. Anyone running an affected version should update to 1.29.7 or 1.31.0, since the only way to close the gap is to install the patched release.
Sources
- claude-code-templates missing authentication in Claude API proxy (GitHub Security Advisories, December 1, 2026, official)
Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.