Read the docs
TI-2025-34549 Aliases CVE-2025-54794GHSA-pmw4-pwvc-3hx2

Claude Code Research Preview has a Path Restriction Bypass which could allow unauthorized file access

Priority LOW 39CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

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. Successful exploitation depends on the presence of (or ability to create) a directory with the same prefix as the CWD and the ability to add untrusted content into a Claude Code context window. This is fixed in version 0.2.111.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01451 73rd percentileScored 2026-11-08
Fix Fixed claude-code (anthropics): 0.2.111@anthropic-ai/claude-code (npm): 0.2.111

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
anthropicsclaude-codebefore 0.2.1110.2.111Patch availableCNA
—@anthropic-ai/claude-code (npm)before 0.2.1110.2.111Patch availableGHSA-pmw4-pwvc-3hx2
  • claude-code Vendoranthropics Affected before 0.2.111 Fixed in 0.2.111 Patch available CNA
  • @anthropic-ai/claude-code (npm) Vendor— Affected before 0.2.111 Fixed in 0.2.111 Patch available GHSA-pmw4-pwvc-3hx2

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:*before 0.2.111Vulnerableanthropics
  • cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:* Versions before 0.2.111 Vulnerable ·anthropics

Remediation

  • Fix · CNA claude-code (anthropics) Fixed in 0.2.111
  • Fix · GHSA-pmw4-pwvc-3hx2 @anthropic-ai/claude-code (npm) Fixed in 0.2.111 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-54794
  2. 2026-10-03 Alias added: GHSA-pmw4-pwvc-3hx2

References

  • TI-2025-40558 Claude Code Command Validation Bypass Allows Arbitrary Code Execution CVSS 4.0HIGH 8.7
  • TI-2025-36683 Claude Code vulnerable to arbitrary code execution caused by maliciously configured git email CVSS 4.0HIGH 8.7
  • TI-2025-37066 Claude Code's startup trust dialog could lead to Command Execution attack CVSS 4.0HIGH 8.7
  • TI-2026-17554 Claude Code Leaks Data via Malicious Environment Configuration Before Trust Confirmation CVSS 4.0MEDIUM 5.3
  • TI-2025-40093 @anthropic-ai/claude-code has Sed Command Validation Bypass that Allows Arbitrary File Writes CVSS 4.0HIGH 8.7
  • TI-2025-36422 Claude Code rg command had Command Injection that allowed bypass of user approval prompt for command execution CVSS 4.0HIGH 8.7
See all 25 →

Sources