Critical severity · published Aug 5, 2025
CVE-2025-54795
Claude Code echo command allowed bypass of user approval prompt for command execution
9.8
CVSS
1%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.0% · higher than 64% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CL
claude-code · anthropics
< 1.0.20 · source: vendor
CC
Claude Code · Anthropic
before 1.0.20 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-54795
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-54795
Vendor Advisory
https://github.com/anthropics/claude-code/security/advisories/GHSA-x56v-x2h6-7j34
More from claude-code
10.0
CVE-2026-39861
Claude Code: Sandbox Escape via Symlink Following Allows Arbitrary File Write Outside Workspace
10.0
CVE-2026-25725
Claude Code Has Sandbox Escape via Persistent Configuration Injection in settings.json
9.8
CVE-2025-66032
Claude Code Command Validation Bypass Allows Arbitrary Code Execution
9.8
CVE-2025-64755
@anthropic-ai/claude-code has Sed Command Validation Bypass that Allows Arbitrary File Writes
9.8
CVE-2025-65099
Claude Code vulnerable to command execution prior to startup trust dialog
