CVE-2026-24887: Claude Code has a Command Injection in find Command Bypasses User Approval Prompt
Vulnerability summary
CVE-2026-24887 is a high (CVSS 8.8) OS Command Injection vulnerability in anthropic claude_code. EPSS estimates a 0.65% chance of exploitation in the next 30 days, higher than 50.6% of scored vulnerabilities.
Timeline
- 03-02-2026PublishedVulnerability first disclosed.
- 03-02-2026Last modifiedVulnerability information updated.
Description
Claude Code is an agentic coding tool. Prior to version 2.0.72, 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. This issue has been patched in version 2.0.72.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · NpmEcosystem advisory · calculated7.7HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- NVDNIST7.7HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.65%
Chance of exploitation in the next 30 days
Percentile
51%
Versus all other CVEs
30-day change
Increase +0.04 pp
From 0.61% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
- CWE-94Improper Control of Generation of Code ('Code Injection')The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Affected systems
@anthropic-ai1 product
- claude-code< 2.0.72
Anthropic1 product
- claude_code< 2.0.72
Anthropics1 product
- claude-code< 2.0.72
3 vendors · 3 products
References
3 links- github.com/anthropics/claude-code/security/advisories/GHSA-qgqw-h4xq-7w8wX Refsource CONFIRMWEBVendor Advisory