Skip to content
MediumVulnerabilityLLM-specific

CVE-2026-24053: Claude Code Bash validation flaw in ZSH clobber syntax allows file writes

Identifier
CVE-2026-24053
Published
Record updated
View JSON
Affected
  • @anthropic-ai/claude-code < 2.0.74
Fixed in
2.0.74
  • released December 19, 2025, 46 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%

Summary

CVE-2026-24053 affects Claude Code prior to version 2.0.74. A Bash command validation flaw in parsing ZSH clobber syntax let an attacker bypass directory restrictions and write files outside the current working directory without user permission prompts. Exploitation required the user to run ZSH and the ability to add untrusted content into a Claude Code context window.

Mitigation

Fixed in version 2.0.74.