CVE-2025-55284 Claude Code's Permissive Default Allowlist Enables Unauthorized File Read and Network Exfiltration in Claude Code

High 7.1 Published Updated

Attackers can bypass confirmation prompts to read files and exfiltrate data via network commands due to an overly broad allowlist in Claude Code.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-55284?

CVE-2025-55284 is a high-severity command injection vulnerability in anthropics claude-code, published on 16 Aug 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Claude Code is an agentic coding tool. Prior to version 1.0.4, it's possible to bypass the Claude Code confirmation prompts to read a file and then send file contents over the network without user confirmation due to an overly broad allowlist of safe commands. 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.

Weakness: CWE-78

Which versions are affected by CVE-2025-55284?

2 open source packages ship an affected version, including @anthropic-ai/claude-code. It affects 1 product.

PackageAffectedFixed in
@anthropic-ai/claude-code npmAll versions1.0.4
@anthropic-ai/claude-code npmAll versions1.0.4

Products include Anthropic Claude Code.

How do I fix CVE-2025-55284?

Upgrade @anthropic-ai/claude-code to 1.0.4 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-55284 being exploited?

There is no known exploitation of CVE-2025-55284 in the wild and no public exploit code.

Sources

Also known as GHSA-x5gv-jw7f-j6xj.

Is CVE-2025-55284 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free