Skip to main content
← All vulnerabilities
CVE-2026-24053GHSA-Q728-GF8J-W49R

Cluade Code has a Path Restriction Bypass via ZSH Clobber which Allows Arbitrary File Writes

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.74
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

Claude Code is an agentic coding tool. Prior to version 2.0.74, due to a Bash command validation flaw in parsing ZSH clobber syntax, it was possible to bypass directory restrictions and write files outside the current working directory without user permission prompts. Exploiting this required the user to use ZSH and the ability to add untrusted content into a Claude Code context window. This issue has been patched in version 2.0.74.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • anthropics claude-code

    fixed in 2.0.74

  • @anthropic-ai/claude-codenpm

    fixed in 2.0.74

References 1

GitHub · anthropics/claude-code