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)

EPSS: 0.005 (37.7th percentile) — read the EPSS interpretation.

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.

Affected products

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.