AnthropicGHSA-qgqw-h4xq-7w8w
Command Injection in find Command Bypasses User Approval Prompt
High7.7CVE-2026-24887 · Published Feb 3, 2026
Due to an error in command parsing, it was possible to bypass the Claude Code confirmation prompt to trigger execution of untrusted commands through the find command. Reliably exploiting this required the ability to add untrusted content into a Claude Code context window. Users on standard Claude Code auto-update have received this fix already. Users performing manual updates are advised to update to the latest version. Thank you to https://hackerone.com/alexbernier for reporting this issue!
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| @anthropic-ai/claude-code npm | < v2.0.72 | v2.0.72 |
Details and references
More Anthropic advisories
All Anthropic| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Feb 6 | Command Injection via Directory Change Bypasses Write Protection | High7.7 | v2.0.57 |
| Feb 6 | Command Injection via Piped sed Command Bypasses File Write Restrictions | High7.7 | v2.0.55 |
| Feb 6 | Sandbox Escape via Persistent Configuration Injection in settings.json | High7.7 | v2.1.2 |
| Feb 6 | Permission Deny Bypass Through Symbolic Links | Low2.3 | v2.1.7 |
| Feb 3 | Path Restriction Bypass via ZSH Clobber Allows Arbitrary File Writes | High7.7 | v2.0.74 |
| Feb 3 | Domain Validation Bypass Allows Automatic Requests to Attacker-Controlled Domains | High7.1 | v1.0.111 |