CVE-2025-54795 Claude Code echo command allowed bypass of user approval prompt for command execution
HighCVSS 8.7
EPSS 1.3%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Anthropic claude code | < 1.0.20 | 1.0.20 | Fixed |
| anthropic-ai @anthropic-ai/claude-code(npm) | < 1.0.20 | 1.0.20 | Fixed |
| anthropics claude-code | = < 1.0.20 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| anthropic-ai @anthropic-ai/claude-code(npm) | < 1.0.20 | 1.0.20 |
| anthropics claude-code | = < 1.0.20 | No fix listed |
| Anthropic claude code | < 1.0.20 | 1.0.20 |
References
- https://github.com/anthropics/claude-code/security/advisories/GHSA-x56v-x2h6-7j34 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product