CVE-2025-54795: Claude Code Command Prompt Execution Bypass
Claude Code
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
- CVSS
- 8.7
- EPSS
- 0.01 · top 35% · 2026-11-13
- fix status
- Fix status unknown
- first report
- 4 Aug 2025
- last update
- 5 Aug 2025
- CVE ids
Timeline · 2
Sources · 2
Advisories and databases
- 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 gcdRadar in its own words; data is CC BY-SA 4.0.
Classification
- lane
- Patch now
- AI role
- Attack on AI
- categories
- Infrastructure vulnerabilityAgent hijack
- severity
- 2 · Disclosed vulnerability
- fix status
- Fix status unknown
- targets
- Anthropic, Framework / tooling
- owasp llm top 10
- LLM03:2025 Supply ChainLLM06:2025 Excessive Agency
- mitre atlas
- AML.T0053 AI Agent Tool Invocation
- dates
- happened 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.
- record
- confidence 0.95 · created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z
Lane, AI role, categories and severity come from the classifier; the OWASP and ATLAS rows are derived from the categories. How these are assigned
Copy a brief
This record as a short Markdown brief, for a ticket, a chat or a coding agent.
the brief as text
# CVE-2025-54795: Claude Code Command Prompt Execution Bypass https://gcdradar.vercel.app/incidents/cve-2025-54795-claude-code-command-prompt-execution-bypass · AIR-2025-0320 · closed 2025-08-04 - Lane: Patch now - Severity: 2 (Disclosed vulnerability) - Fix status: Fix status unknown - First reported: 2025-08-04 - AI role: Attack on AI - Products: Claude Code - CVE ids: CVE-2025-54795 - CVSS: 8.7 ## Summary 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. ## What to do No action recorded; read the sources below and the vendor's advisory. ## Latest updates - 2025-08-05: CVE-2025-54795: Claude Code is an agentic coding tool. (https://nvd.nist.gov/vuln/detail/CVE-2025-54795) - 2025-08-04: CVE-2025-54795: Claude Code echo command allowed bypass of user approval prompt for command execution (https://github.com/advisories/GHSA-x56v-x2h6-7j34) ## Sources - 2025-08-04 GitHub Advisory Database: CVE-2025-54795: Claude Code echo command allowed bypass of user approval prompt for command execution https://github.com/advisories/GHSA-x56v-x2h6-7j34 - 2025-08-05 NVD: CVE-2025-54795: Claude Code is an agentic coding tool. https://nvd.nist.gov/vuln/detail/CVE-2025-54795 Verify against the vendor's advisory before changing production. Data CC BY-SA 4.0, https://gcdradar.vercel.app.
Related
- closed7.7Claude Code + SDKs CVE-2025-54794: Claude Code Path Restriction Bypass Vulnerability
Patch now · Disclosed · since 4 Aug 2025 · updated 5 Aug 2025 · CVE-2025-54794
AI - closed8.8Claude Code + SDKs CVE-2025-52882: Claude Code improper authorization via websocket connections
Patch now · Disclosed · since 23 Jun 2025 · updated 24 Jun 2025 · CVE-2025-52882
AI - closed9.1Claude Code + SDKs CVE-2026-54316: Claude Code Out-of-Band Data Exfiltration via WebFetch
Patch now · Disclosed · since 17 Jun 2026 · updated 23 Jun 2026 · CVE-2026-54316
AI - closedClaude Code + SDKs Claude Code Arbitrary Code Execution via Insufficient Startup Warning
Patch now · Disclosed · since 3 Sep 2025
AI - closed7.1Claude Code + SDKs CVE-2025-55284: Claude Code Allowlist Bypass Enables Unauthorized File Read
Patch now · Disclosed · since 18 Aug 2025 · updated 18 Aug 2025 · CVE-2025-55284
AI - closed9.3MCP servers & tools CVE-2025-34072: Data exfiltration vulnerability in Anthropic Slack MCP Server
Patch now · Disclosed · since 2 Jul 2025 · CVE-2025-34072
AI