CVE-2025-66032CWE-77

Claude Code Command Validation Bypass Allows Arbitrary Code Execution

High · published December 3, 2025

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

⚡ A crafty parsing error in Claude Code allows for arbitrary code execution, like slipping a sneaky ingredient into a recipe! 🍰 Think of it like a chef who unknowingly allows a customer to swap in a dangerous spice without checking the menu. The result? A dish that could leave the whole kitchen in chaos! If exploited, this vulnerability could let an attacker execute any code they choose within the Claude Code environment. This means they could manipulate data or run malicious scripts — an absolute nightmare for your application’s integrity!

Put simply

Think of it like a chef who unknowingly allows a customer to swap in a dangerous spice without checking the menu. The result? A dish that could leave the whole kitchen in chaos! This vulnerability arises from improper parsing of shell commands related to $IFS and short CLI flags, allowing users to bypass read-only validation and execute arbitrary code. Essentially, if an untrusted input is introduced, the system risks executing harmful commands.

What to do

If exploited, this vulnerability could let an attacker execute any code they choose within the Claude Code environment. This means they could manipulate data or run malicious scripts — an absolute nightmare for your application’s integrity! Immediately upgrade to Claude Code version 1.0.93 to close this vulnerability. Additionally, audit any content that is accepted into the context window to ensure it is trusted and validated before execution. Don't take chances! You’ve got this! Follow the steps to secure your instance, and you’ll have your coding environment locked down in no time! 🛡️

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.00688 · 52.1th percentile
Weakness
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
Published
2025-12-03T18:16Z
EPSS history
Timeline
  • 03 DEC 18:16Z
    Claude Code Command Validation Bypass Allows Arbitrary Code Execution
    cvelistv5