CVE-2025-58764CWE-94

Claude Code rg command had Command Injection that allowed bypass of user approval prompt for command execution

High · published September 10, 2025

CVSS v4.0
8.7
EPSS
1%
Percentile
45.2
In the wild
Unconfirmed
What it is

⚡ A sneaky command parsing error in Claude Code could let attackers execute untrusted commands without breaking a sweat! Think of it like a restaurant where anyone can place an order without checking the menu. If the kitchen isn't careful, a rogue chef could whip up something dangerous! This flaw allows an attacker with access to the Claude Code context to bypass confirmation prompts and run malicious commands. This could lead to data leakage, unauthorized changes, or even a complete system takeover if left unchecked. It's a serious risk that could compromise the integrity of your coding environment.

Put simply

Think of it like a restaurant where anyone can place an order without checking the menu. If the kitchen isn't careful, a rogue chef could whip up something dangerous! Versions of Claude Code prior to 1.0.105 contain an error in command parsing that allows the bypass of confirmation prompts, enabling the execution of untrusted commands.

What to do

This flaw allows an attacker with access to the Claude Code context to bypass confirmation prompts and run malicious commands. This could lead to data leakage, unauthorized changes, or even a complete system takeover if left unchecked. It's a serious risk that could compromise the integrity of your coding environment. If you're using Claude Code, ensure you're running the latest version (1.0.105 or higher). Users on auto-update have likely been patched automatically, but manual updaters should verify their versions today. Don't wait! You've got this! By staying updated and vigilant, you're helping secure the coding community! 🛡️

The record
Technical detail
CVSS v4.0
8.7 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
0.00549 · 45.2th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2025-09-10T15:06Z
EPSS history
Timeline
  • 10 SEP 15:06Z
    Claude Code rg command had Command Injection that allowed bypass of user approval prompt for command execution
    cvelistv5