GitHub Advisoryadvisory · npm

GHSA-x5gv-jw7f-j6xj Claude Code's Permissive Default Allowlist Enables Unauthorized File Read and Network Exfiltration in Claude Code

HIGH Published 2025-08-18 Modified 2025-08-18 Official page ↗
Aliases
CVE-2025-55284
Ecosystem
npm
Packages
@anthropic-ai/claude-code
Severity
High
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Weaknesses
CWE-78
Reviewed
2025-08-18

Affected packages

• npm @anthropic-ai/claude-code: < 1.0.4 → fixed in 1.0.4

Description

Due to an overly broad allowlist of safe commands, it was possible to bypass the Claude Code confirmation prompts to read a file and then send file contents over the network without user confirmation. Reliably exploiting this requires the ability to add untrusted content into a Claude Code context window. Users on standard Claude Code auto-update received this fix automatically after release. Current users of Claude Code are unaffected, as versions prior to 1.0.24 are deprecated and have been forced to update. Thank you to https://hackerone.com/wunderwuzzi23 for reporting this issue!

Related

Alias · CVE (1)

Weakness · CWE (1)

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness

References