Command injection in Claude Code - CVE-2025-66032
Published: April 30, 2026
Claude Code
Anthropic
Description
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to command injection in the shell command parsing and validation logic when processing shell commands related to $IFS and short CLI flags. A remote attacker can add untrusted content into a Claude Code context window to execute arbitrary code.
Reliable exploitation requires the ability to introduce untrusted content into a Claude Code context window.