Skip to main content
← All vulnerabilities
CVE-2025-54795GHSA-X56V-X2H6-7J34

Claude Code echo command allowed bypass of user approval prompt for command execution

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.0.20
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • anthropics claude-code

    fixed in 1.0.20

  • @anthropic-ai/claude-codenpm

    fixed in 1.0.20

References 2

GitHub · anthropics/claude-code

GitHub · alonisser/ralph