CVE-2025-54795
CVE-2025-54795 · Claude Code echo command allowed bypass of user approval prompt for command execution
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 8.7 · High · EPSS 1.0% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
claude-code
- Versions
- < 1.0.20: Affected
No fix published
@anthropic-ai/claude-code npm
- Affected ranges
- SEMVER: < 1.0.20
Update to 1.0.20