CVE-2025-66032: Claude Code Command Validation Bypass Allows Arbitrary Code Execution

Published Dec 3, 2025
·
Updated

Claude Code is an agentic coding tool. Prior to 1.0.93, Due to errors in parsing shell commands related to $IFS and short CLI flags, it was possible to bypass the Claude Code read-only validation and trigger arbitrary code execution. Reliably exploiting this requires the ability to add untrusted content into a Claude Code context window. This vulnerability is fixed in 1.0.93.

Other sources

Due to errors in parsing shell commands related to $IFS and short CLI flags, it was possible to bypass the Claude Code read-only validation and trigger arbitrary code execution. Reliably exploiting this requires the ability to add untrusted content into a Claude Code context window.

Users on standard Claude Code auto-update have received this fix already. Users performing manual updates are advised to update to the latest version.

Thank you to RyotaK from GMO Flatt Security Inc. for reporting this issue!

GitHub

Affected Software

2 affected componentsFixes available
npm/@anthropic-ai/claude-code<1.0.93
1.0.93
Anthropic Claude Code Node.js<1.0.93

Event History

Dec 3, 2025
Advisory Published
via GitHub·04:27 PM
Data Sourced
via GitHub·04:27 PM
DescriptionWeaknessAffected Software
CVE Published
via MITRE·06:16 PM
Data Sourced
via MITRE·06:16 PM
DescriptionWeakness
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-66032?

CVE-2025-66032 has a high severity due to its potential for arbitrary code execution.

2

How do I fix CVE-2025-66032?

To fix CVE-2025-66032, update to version 1.0.93 or later of the @anthropic-ai/claude-code package.

3

What causes CVE-2025-66032?

CVE-2025-66032 is caused by errors in parsing shell commands related to $IFS and short CLI flags.

4

Can CVE-2025-66032 be exploited remotely?

Yes, CVE-2025-66032 can be exploited if an attacker can add untrusted content into a Claude Code context window.

5

What software is affected by CVE-2025-66032?

CVE-2025-66032 affects the @anthropic-ai/claude-code package version prior to 1.0.93.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203