CVE-2025-54795: Claude Code Command Prompt Execution Bypass
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerabilityAgent hijack
A command parsing error in Claude Code enables attackers to bypass confirmation prompts and execute untrusted commands via injected context. Affected versions have been addressed through automatic updates.
disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why
Details
- type
- Attack on AIAn AI model, agent or AI-powered product was the thing exploited, abused or leaked.
- categories
- Infrastructure vulnerabilityprimaryCVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
- Agent hijackAn AI agent is tricked into unauthorized actions: tool misuse, data exfiltration through the agent, or acting against its principal.
- Infrastructure vulnerabilityprimary
- owasp llm top 10
- mitre atlas
- Both rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
- severity
- 2 · Disclosed vulnerabilityCVE or vendor advisory, patched or patchable, no confirmed exploitation.
- targets
- Anthropic, Framework / tooling
- products
- Claude Code
- incident date
- 4 Aug 2025
- first reported
- 4 Aug 2025
- origin
- GitHub Advisory DatabaseVulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
- classifier confidence
- 0.95 · published at or above 0.80; see the methodology
- tags
- CVE-2025-54795 · claude-code · command-injection
- record
- created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z · json
Sources · 2
- 2025-08-04CVE-2025-54795: Claude Code echo command allowed bypass of user approval prompt for command executionGitHub Advisory Database · github.com/advisories/GHSA-x56v-x2h6-7j34
- 2025-08-05CVE-2025-54795: Claude Code is an agentic coding tool.NVD · nvd.nist.gov/vuln/detail/CVE-2025-54795
Titles and links belong to their publishers. The summary above is written by GCD AI RADAR in its own words; data is CC BY-SA 4.0.
Related incidents
- 2025-08-04CVE-2025-54794: Claude Code Path Restriction Bypass Vulnerability2 Disclosedon AIInfra vulnAgent hijack2 src
- 2025-06-23CVE-2025-52882: Claude Code improper authorization via websocket connections2 Disclosedon AIInfra vulnAgent hijack2 src
- 2026-06-17CVE-2026-54316: Claude Code Out-of-Band Data Exfiltration via WebFetch2 Disclosedon AIAgent hijackInfra vuln2 src
- 2025-09-03Claude Code Arbitrary Code Execution via Insufficient Startup Warning2 Disclosedon AIInfra vuln1 src
- 2025-08-16CVE-2025-55284: Claude Code Allowlist Bypass Enables Unauthorized File Read2 Disclosedon AIInfra vulnPrompt inj.2 src
- 2025-07-02CVE-2025-34072: Data exfiltration vulnerability in Anthropic Slack MCP Server2 Disclosedon AIInfra vulnAgent hijack1 src