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

Published Sep 10, 2025
·
Updated

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.

Other sources

Due to an error in command parsing, it was possible to bypass 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 the latest version.

Thank you to the NVIDIA AI Red Team for reporting this issue!

GitHub

Affected Software

3 affected componentsFixes available
Claude Claude Code<1.0.105
npm/@anthropic-ai/claude-code<1.0.105
1.0.105
anthropic Claude Code Node.js<1.0.105

Event History

Sep 10, 2025
CVE Published
via MITRE·03:06 PM
Data Sourced
via MITRE·03:06 PM
DescriptionWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
Affected Software
Advisory Published
via GitHub·05:10 PM
Data Sourced
via GitHub·05:10 PM
DescriptionWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-58764?

CVE-2025-58764 has been rated as a high severity vulnerability due to the potential for untrusted command execution.

2

How do I fix CVE-2025-58764?

To fix CVE-2025-58764, upgrade to Claude Code version 1.0.105 or later to ensure the command parsing error is resolved.

3

What versions are affected by CVE-2025-58764?

CVE-2025-58764 affects all versions of Claude Code prior to 1.0.105.

4

Can CVE-2025-58764 be exploited remotely?

Yes, CVE-2025-58764 can be exploited remotely if the attacker can introduce untrusted content within the application.

5

What types of attacks does CVE-2025-58764 enable?

CVE-2025-58764 enables attacks that can trigger execution of malicious commands without proper user consent.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203