Path Validation Flaw in Claude Code Coding Tool by Anthropic
CVE-2025-54794

7.7HIGH

Key Information:

Vendor

Anthropics

Vendor
CVE Published:
5 August 2025

Badges

πŸ‘Ύ Exploit Exists🟑 Public PoC

What is CVE-2025-54794?

Claude Code, an agentic coding tool, exhibits a path validation vulnerability in versions prior to 0.2.111. This flaw utilizes prefix matching instead of canonical path comparison, enabling potential bypass of directory restrictions. The vulnerability allows malicious actors to access files outside the current working directory (CWD) if they can set up a directory with a matching prefix and introduce untrusted content into a Claude Code context window. To address this flaw, users are advised to upgrade to version 0.2.111 or later.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.

Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.

Affected Version(s)

claude-code < 0.2.111

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
7.7
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • 🟑

    Public PoC available

  • πŸ‘Ύ

    Exploit known to exist

  • Vulnerability published

.