Advisory

GHSA-xq4m-mc3c-vvg3

Also known as: CVE-2025-66032

Summary

Claude Code Command Validation Bypass Allows Arbitrary Code Execution

Details

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](hxxps://ryotak.net) from [GMO Flatt Security Inc.](hxxps://flatt.tech/en/) for reporting this issue!

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-12-03 16:27 UTC
Modified
2025-12-05 12:27 UTC

Affected packages and fixes

@anthropic-ai/claude-code

npm · All systems

Affected

  • introduced 0, fixed 1.0.93 (semver)

Fixed versions

1.0.93

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences