{"id":"CVE-2026-24053","published":"2026-02-03T20:49:59Z","modified":"2026-02-03T21:22:27Z","title":"Cluade Code has a Path Restriction Bypass via ZSH Clobber which Allows Arbitrary File Writes","vendor":"anthropics","product":"claude-code","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00644,"percentile":0.4546,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/anthropics/claude-code/security/advisories/GHSA-q728-gf8j-w49r","tags":["x_refsource_CONFIRM"]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":9.09},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"anthropics","affectedVersions":[{"vendor":"anthropics","product":"claude-code","versions":["< 2.0.74"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-02-03T21:22:17.897905Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@anthropic-ai/claude-code","vulnerableRanges":["<2.0.74"],"patched":["2.0.74"],"from":["GHSA-q728-gf8j-w49r"],"provenance":"source"}],"summary":{"text":"A flaw in the Bash command validation of anthropics' claude-code (an agentic coding tool) mishandles ZSH clobber syntax, so the directory restrictions on file writes can be bypassed. An attacker needs the user to run ZSH and must be able to inject untrusted content into the Claude Code context window, and user interaction is required, since the bypass avoids the permission prompt for writes outside the current working directory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:38Z"},"euvd":{"id":"EUVD-2026-5156","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-25722","published":"2026-02-06","fixed":"2.0.57","kev":false},{"cve":"CVE-2026-21852","published":"2026-01-21","fixed":"2.0.65","kev":false},{"cve":"CVE-2026-24887","published":"2026-02-03","fixed":"2.0.72","kev":false,"link":{"from":"CVE-2026-24887","to":"CVE-2026-24053","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@anthropic-ai/claude-code","fromFixed":"2.0.72","toFixed":"2.0.74","daysApart":0}]}},{"cve":"CVE-2026-24053","published":"2026-02-03","fixed":"2.0.74","kev":false},{"cve":"CVE-2026-25725","published":"2026-02-06","fixed":"2.1.2","kev":false,"link":{"from":"CVE-2026-24053","to":"CVE-2026-25725","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@anthropic-ai/claude-code","fromFixed":"2.0.74","toFixed":"2.1.2","daysApart":3}]}},{"cve":"CVE-2026-25724","published":"2026-02-06","fixed":"2.1.7","kev":false},{"cve":"CVE-2026-33068","published":"2026-03-20","fixed":"2.1.53","kev":false}],"package":"npm:@anthropic-ai/claude-code"}}