CVE-2026-24053: anthropics claude-code · Path Traversal
Affects anthropics claude-codeSource CVE Database V5
Not known to be exploited · CVSS 7.7 High : upgrade to 2.0.74 soon.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.0.74
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 3 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade claude-code and anthropics/claude-code to 2.0.74.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| anthropicsclaude-code | Affected
| Fixed in
|
GitHubanthropics/claude-codepkg:github/anthropics/claude-codeOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should immediately upgrade anthropics Claude Code to version 2.0.74 or later to apply the official patch. Until upgrading is possible, restrict or sanitize all untrusted inputs that can be injected into Claude Code context windows to prevent malicious payloads. Implement strict shell environment controls, limiting the use of ZSH where feasible or enforcing hardened configurations that disable clobber syntax features. Employ application-level monitoring to detect anomalous file writes outside expected directories. Integrate runtime protection mechanisms that can intercept and block unauthorized file system operations. Educate developers and users about the risks of injecting untrusted content and encourage the use of least privilege principles. Regularly audit development tools and environments for compliance with security policies. Finally, maintain up-to-date backups and incident response plans to mitigate potential damage from exploitation.
Description
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.