Command injection in Claude Code - CVE-2025-66032

 

Command injection in Claude Code - CVE-2025-66032

Published: April 30, 2026


Vulnerability identifier: #VU128520
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-66032
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Claude Code

How to mitigate CVE-2025-66032

Install security update from vendor's website.

Claude Code - update to 1.0.93

External References

Related Security Bulletins