Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
Mallory
High

Claude Code prompt confirmation bypass leading to file read and network exfiltration

IdentifiersCVE-2025-55284CWE-285

CVE-2025-55284 affects Claude Code prior to version 1.0.4. Due to an overly broad allowlist of commands treated as safe, an attacker can bypass Claude Code confirmation prompts and cause the agent to read local files and transmit their contents over the network without the expected user approval. The issue is exploitable through untrusted content injected into the Claude Code context window, i.e., an indirect prompt-injection scenario in which attacker-controlled content influences agent behavior. Supporting context indicates the vulnerability was used for data exfiltration, including API keys, and could leverage DNS-based techniques to encode and send stolen data.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation enables unauthorized access to local file contents processed by Claude Code and silent exfiltration of that data over the network without user confirmation. The practical impact includes theft of secrets such as API keys and other sensitive material available in files the agent can access. Because the confirmation boundary is bypassed, the vulnerability undermines the trust model for agent-mediated local file access and outbound transmission.

Mitigation

If you can’t patch tonight, do this now.

Until patched, reduce or eliminate exposure to untrusted content in Claude Code context windows, since reliable exploitation requires attacker-controlled content to be introduced into the model context. Limit the agent’s access to sensitive local files and secrets where possible, and restrict or monitor outbound network activity from agent-driven workflows to reduce exfiltration opportunities. Prefer isolated environments for processing untrusted repositories or prompts.

Remediation

Patch, then assume compromise.

Upgrade Claude Code to version 1.0.4 or later, which fixes the overly broad safe-command allowlist. The provided content states users on the standard Claude Code auto-update channel received the fix automatically after release, and that versions prior to 1.0.24 are deprecated and were forced to update. Current users are therefore stated to be unaffected.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
AnthropicClaude Codeapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity2

Community discussion across Reddit, Mastodon, and other social sources.