CVE-2025-54794: high-severity vulnerability in anthropics claude-code
Claude Code Research Preview has a Path Restriction Bypass which could allow unauthorized file access
Published
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
Claude Code had a flaw that let attackers access files outside the intended working directory by creating a folder with a similar name. This could expose sensitive files if someone tricks the tool into reading from the wrong location.
Path validation used prefix matching instead of canonical path resolution, allowing directory traversal attacks. Exploitation requires creating a directory sharing a name prefix with the CWD and injecting untrusted input into the Claude Code context. The vulnerability was fixed in version 0.2.111.
In the same product, most dangerous first.