Claude Code CVE-2025-66032: Why Allowlists Aren't Enough
Validating strings will never secure command execution
Niki A. Niyikiza published on
9 min,
1785 words
Recently, RyotaK at GMO Flatt Security published 8 ways to execute arbitrary commands in Claude Code without user approval. Anthropic patched it fast by switching to an allowlist.
That stops the bleeding, but it doesn’t cure the disease.
The error was in the layer, not the list. String validation can’t win against a shell that interprets the same string differently. Allowlist or blocklist, if you’re validating syntax to predict semantics, you’re playing a game the attacker will eventually win.
Read More