OS Command Injection in Claude Code - CVE-2026-24887
Published: April 30, 2026
Claude Code
Anthropic
Description
The vulnerability allows a remote attacker to execute untrusted commands.
The vulnerability exists due to command injection in the find command when parsing untrusted content in a Claude Code context window. A remote attacker can add crafted untrusted content to the context window to execute untrusted commands.
Reliably exploiting the issue requires the ability to add untrusted content into a Claude Code context window.