What’s Vulnerable › Vulnerabilities

CVE-2025-58764: Claude Code rg command had Command Injection that allowed bypass of user approval prompt for command execution

Description

Claude Code is an agentic coding tool. Due to an error in command parsing, versions prior to 1.0.105 were vulnerable to a bypass of the Claude Code confirmation prompt to trigger execution of an untrusted command. Reliably exploiting this requires the ability to add untrusted content into a Claude Code context window. Users on standard Claude Code auto-update will have received this fix automatically. Users performing manual updates are advised to update to version 1.0.105 or the latest version.

Affected products

How to fix

Upgrade to a fixed version: anthropics claude-code 1.0.105. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-58764 or the next vulnerability affects your stack