{"id":"CVE-2025-58764","published":"2025-09-10T15:06:30Z","modified":"2025-09-11T14:43:27Z","title":"Claude Code rg command had Command Injection that allowed bypass of user approval prompt for command execution","vendor":"anthropics","product":"claude-code","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00549,"percentile":0.46876,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/anthropics/claude-code/security/advisories/GHSA-qxfv-fcpc-w36x","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":9.38},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"anthropics","affectedVersions":[{"vendor":"anthropics","product":"claude-code","versions":["< 1.0.105"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-09-11T14:27:25.537598Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@anthropic-ai/claude-code","vulnerableRanges":["<1.0.105"],"patched":["1.0.105"],"from":["GHSA-qxfv-fcpc-w36x"],"provenance":"source"}],"summary":{"text":"A command-parsing error in the rg (ripgrep) command within Anthropic's Claude Code agentic coding tool allowed the user confirmation prompt to be bypassed, so an untrusted command could be executed. An attacker would need to be able to insert untrusted content into Claude Code's context window, and exploitation requires a user to interact with the tool.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:09Z"},"euvd":{"id":"EUVD-2025-27564","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-59828","published":"2025-09-24","fixed":"1.0.39","kev":false},{"cve":"CVE-2025-65099","published":"2025-11-19","fixed":"1.0.39","kev":false},{"cve":"CVE-2025-66032","published":"2025-12-03","fixed":"1.0.93","kev":false},{"cve":"CVE-2025-58764","published":"2025-09-10","fixed":"1.0.105","kev":false},{"cve":"CVE-2025-59041","published":"2025-09-10","fixed":"1.0.105","kev":false},{"cve":"CVE-2025-59536","published":"2025-10-03","fixed":"1.0.111","kev":false,"link":{"from":"CVE-2025-58764","to":"CVE-2025-59536","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@anthropic-ai/claude-code","fromFixed":"1.0.105","toFixed":"1.0.111","daysApart":23},{"kind":"similar","provenance":"machine","score":0.44,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2026-24052","published":"2026-02-03","fixed":"1.0.111","kev":false,"link":{"from":"CVE-2025-58764","to":"CVE-2026-24052","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@anthropic-ai/claude-code","fromFixed":"1.0.105","toFixed":"1.0.111","daysApart":146}]}}],"package":"npm:@anthropic-ai/claude-code"}}