# CVE-2025-66032: Anthropic Claude Code command validation bypass

Source: https://junglewise.ai/threats/cve-2025-66032-anthropic-claude-code-command-validation-bypass  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-12-03. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2025-66032 · Severity: medium · CVSS 4 · Published 2025-12-03

Claude Code is an AI-powered code execution environment used to help developers write and test code. A validation bypass in command parsing allows attackers who can inject untrusted content into Claude Code sessions to execute arbitrary system commands, potentially compromising the developer's system and accessing sensitive data or credentials.

Technologies: [Anthropic Claude Code](https://junglewise.ai/threats/technologies/claude-code), [@anthropic-ai/claude-code (npm)](https://junglewise.ai/threats/technologies/anthropic-ai-claude-code). Vendors: [Anthropic](https://junglewise.ai/threats/vendors/anthropic), [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2025-66032 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-66032 being exploited in the wild.

**How severe is CVE-2025-66032?** Medium severity, with a CVSS score of 4, published 3 December 2025.

**Which products and versions are affected?** Anthropic Claude Code <1.0.93; @anthropic-ai/claude-code (npm) SEMVER:introduced=0,fixed=1.0.93.

**Is there a fix for CVE-2025-66032?** Yes. @anthropic-ai/claude-code (npm): upgrade to 1.0.93 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2025-66032 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2025-66032?** Check whether you run Anthropic Claude Code or @anthropic-ai/claude-code (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- @anthropic-ai/claude-code (npm): upgrade to 1.0.93 or later

  ```sh
  npm install @anthropic-ai/claude-code@1.0.93
  ```


## Technical details

The vulnerability stems from errors in parsing shell commands, specifically related to improper handling of $IFS (Internal Field Separator) and short CLI flags. The Claude Code read-only validation mechanism can be bypassed through crafted shell command input, allowing arbitrary code execution. Exploitation requires the ability to add untrusted content into a Claude Code context window (e.g., via prompts containing malicious payloads). An attacker can achieve full code execution with the privileges of the user running Claude Code. The vulnerability has been patched in version 1.0.93 and later; users with auto-update enabled have already received the fix.

## Affected products

- Anthropic Claude Code <1.0.93

## Identifiers

- CVE-2025-66032
- GHSA-xq4m-mc3c-vvg3

## Timeline

- 2025-12-03: disclosed: Vulnerability disclosed via GitHub advisory
- 2025-12-03: patched: Patched in version 1.0.93

## References

- [https://github.com/anthropics/claude-code/security/advisories/GHSA-xq4m-mc3c-vvg3](https://github.com/anthropics/claude-code/security/advisories/GHSA-xq4m-mc3c-vvg3)

## Related threats

- [Anthropic Claude Code time-of-check-to-time-of-use in Edit tool](https://junglewise.ai/threats/cve-2026-88968-claude-code-is-an-agentic-coding-tool-prior-to-2-1-251-the-edit)
- [Anthropic Claude Code plugin hash pin bypass in git checkout](https://junglewise.ai/threats/cve-2026-86063-claude-code-plugin-hash-pin-bypass-allows-bypass-of-hash-pinning)
- [Anthropic Claude Code managed settings bypass with stored API key](https://junglewise.ai/threats/cve-2026-103012-claude-code-selected-an-api-key-stored-by-claude-code-for)
- [Anthropic Claude Code sandbox escape via git worktree path confusion](https://junglewise.ai/threats/cve-2026-55607-anthropic-claude-code-sandbox-escape-via-git-worktree-path)
- [Anthropic Claude Code insecure temporary file in copy command](https://junglewise.ai/threats/cve-2026-46406-anthropic-claude-code-insecure-temporary-file-in-copy-command)
