Path Traversal in Anthropic Claude_code

CVE-2025-54794

Claude Code is an agentic coding tool. In versions below 0.2.111, a path validation flaw using prefix matching instead of canonical path comparison, makes it possible to bypass directory restrictions and access files outside the CWD. Succe…

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.009 (55.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-54794?
CVE-2025-54794 is a critical-severity vulnerability in Anthropic Claude_code, classified under Path Traversal. CVSS score: 9.1/10. Published 2025-08-05.
How severe is CVE-2025-54794?
Critical severity. CVSS v3 base score is 9.1 out of 10.
Is CVE-2025-54794 known to be exploited?
8 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.