CVE-2026-24887CWE-78CWE-94

Claude Code has a Command Injection in find Command Bypasses User Approval Prompt

High · published February 3, 2026

CVSS v4.0
7.7
EPSS
1%
Percentile
50.6
In the wild
Unconfirmed
What it is

⚡ A sneaky command parsing error lets attackers execute untrusted commands without confirmation in Claude Code! 🔥 Think of it as a restaurant where the chef could be tricked into cooking whatever a customer whispers, bypassing the review of the order. This means anyone with access could sneak in dangerous ingredients without anyone realizing until it’s too late! This vulnerability allows attackers to run untrusted commands, potentially leading to unauthorized access or data corruption. If exploited, they could manipulate the coding environment in unexpected ways, compromising the entire project and causing chaos!

Put simply

Think of it as a restaurant where the chef could be tricked into cooking whatever a customer whispers, bypassing the review of the order. This means anyone with access could sneak in dangerous ingredients without anyone realizing until it’s too late! The issue lies in the way Claude Code parses commands, which allows the bypassing of confirmation prompts—essentially letting untrusted commands execute directly. This could happen if an attacker manages to inject untrusted content into the context window prior to version 2.0.72.

What to do

This vulnerability allows attackers to run untrusted commands, potentially leading to unauthorized access or data corruption. If exploited, they could manipulate the coding environment in unexpected ways, compromising the entire project and causing chaos! Update Claude Code to version 2.0.72 immediately to close this vulnerability. Additionally, ensure that content added to the context window is trusted and validated. Regularly audit your coding environment to prevent similar issues in the future. You’ve got this! Follow these steps, and you’ll be one step ahead in securing your coding environment! 🛡️

The record
Technical detail
CVSS v4.0
7.7 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
0.00652 · 50.6th percentile
Weaknesses
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'); CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-02-03T20:50Z
EPSS history
Timeline
  • 03 FEB 20:50Z
    Claude Code has a Command Injection in find Command Bypasses User Approval Prompt
    cvelistv5