AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

AnthropicGHSA-q728-gf8j-w49r

Path Restriction Bypass via ZSH Clobber Allows Arbitrary File Writes

Anthropic

CVE-2026-24053 · Published Feb 3, 2026

High7.7
Fix: upgrade to v2.0.74 or later
GitHub advisory

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.

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 https://hackerone.com/alexbernier for reporting this issue!

Affected versions

PackageAffectedFixed in
@anthropic-ai/claude-code
npm
< v2.0.74v2.0.74
Details and references
CVSS 4.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Severity from
GitHub (reviewed advisory)
Weakness
CWE-20, CWE-22, CWE-78

More Anthropic advisories

All Anthropic