XSS in Anthropic Claude Code
CVE-2026-24053
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.005 (42.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 43rd percentile — 42.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: +0.000
Affected products
- Anthropic Claude Code
- Anthropics Claude-Code — versions < 2.0.74
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-24053?
- CVE-2026-24053 is a medium-severity vulnerability in Anthropic Claude Code, classified under Path Traversal. CVSS score: 6.5/10. Published 2026-02-03.
- How severe is CVE-2026-24053?
- Medium severity. CVSS v3 base score is 6.5 out of 10.