Browse / Tool and Agent Misuse / CVE-2025-55284
Claude Code's Permissive Default Allowlist Enables Unauthorized File Read and Network Exfiltration in Claude Code
- Class
- Tool and Agent Misuse (filed by a model that read the advisory)
- Technique
- Data exfiltration
- Also involves
- Indirect Prompt Injection, Sensitive Data Disclosure
- Affected
- @anthropic-ai/claude-code (npm)
- Gets past
- Approval or confirmation prompt
- CVSS
- 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
- EPSS
- 0.6% chance of exploitation in 30 days
How it works, in short
An overly broad safe-command list let injected content read a local file and send it over the network without confirmation. (Our summary, written by a model. The source text is below.)
Details
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!
References
- https://github.com/anthropics/claude-code/security/advisories/GHSA-x5gv-jw7f-j6xj
- https://nvd.nist.gov/vuln/detail/CVE-2025-55284
- https://github.com/anthropics/claude-code
Source: GitHub Advisory Database, used under CC BY 4.0.