gcdRadar
archive/Patch now/AIR-2025-0320
closedclosed 4 Aug 2025Patch now2 Disclosed vulnerabilityAI

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

Timeline · 2

  1. 4 Aug 2025CVE-2025-54795: Claude Code echo command allowed bypass of user approval prompt for command execution
  2. 5 Aug 2025CVE-2025-54795: Claude Code is an agentic coding tool.

Sources · 2

Advisories and databases

  1. 2025-08-04
    CVE-2025-54795: Claude Code echo command allowed bypass of user approval prompt for command execution
    GitHub Advisory Database · github.com/advisories/GHSA-x56v-x2h6-7j34
  2. 2025-08-05
    CVE-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

AI role
Attack on AI
categories
Infrastructure vulnerabilityAgent hijack
severity
2 · Disclosed vulnerability
fix status
Fix status unknown
targets
Anthropic, Framework / tooling
dates
happened 4 Aug 2025 · first reported 4 Aug 2025
origin
GitHub Advisory Database
Vulnerability 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

  1. closed7.7
    Claude 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
  2. closed8.8
    Claude 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
  3. closed9.1
    Claude 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
  4. closed
    AI
  5. closed7.1
    Claude 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
  6. closed9.3
    AI