CVE-2025-54795
Claude Code echo command allowed bypass of user approval prompt for command execution
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
Claude Code is an agentic coding tool. In versions below 1.0.20, an error in command parsing makes it possible to bypass the Claude Code confirmation prompt to trigger execution of an untrusted command. Reliably exploiting this requires the ability to add untrusted content into a Claude Code context window. This is fixed in version 1.0.20.
Claude Code es una herramienta de codificación agentica. En versiones anteriores a la 1.0.20, un error en el análisis de comandos permite omitir la solicitud de confirmación de Claude Code para activar la ejecución de un comando no confiable. Para aprovechar esto de forma fiable, es necesario poder añadir contenido no confiable a una ventana de contexto de Claude Code. Esto se ha corregido en la versión 1.0.20.
CVSS Scores
SSVC
- Decision:Track*
Timeline
- 2025-07-29 CVE Reserved
- 2025-08-05 CVE Published
- 2025-08-05 CVE Updated
- 2026-05-01 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CAPEC
References (1)
| URL | Tag | Source |
|---|---|---|
| https://github.com/anthropics/claude-code/security/advisories/GHSA-x56v-x2h6-7j34 | X_refsource_confirm |
| URL | Date | SRC |
|---|
| URL | Date | SRC |
|---|
| URL | Date | SRC |
|---|
Affected Vendors, Products, and Versions
| Vendor | Product | Version | Other | Status | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
| Anthropics Search vendor "Anthropics" | Claude-code Search vendor "Anthropics" for product "Claude-code" | < 1.0.20 Search vendor "Anthropics" for product "Claude-code" and version " < 1.0.20" | en |
Affected
| ||||||
