CVE-2026-35020

Description

Unpatched critical (CVSS 8.4) command injection in Claude Code's which.ts command-lookup path. User-controlled TERMINAL environment variable flows through the CLI's deep-link handler into a shell invocation with no sanitization; zero user interaction required. Eight documented environment-injection vectors: .env files, CI/CD pipeline variables, IDE workspace settings, Docker ENV directives, Kubernetes ConfigMaps, SSH SendEnv forwarding, systemd unit Environment= directives, and dotfile manager profile modifications. Validated on v2.1.91 (April 3, 2026). Anthropic closed as 'Informative' in VDP.

Key claims

Relations

Sources

src-20260409-f5e09e325670