High severityNVD Advisory· Published Aug 5, 2025· Updated Aug 5, 2025
Claude Code echo command allowed bypass of user approval prompt for command execution
CVE-2025-54795
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@anthropic-ai/claude-codenpm | < 1.0.20 | 1.0.20 |
Affected products
1- Range: < 1.0.20
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- github.com/advisories/GHSA-x56v-x2h6-7j34ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-54795ghsaADVISORY
- github.com/anthropics/claude-code/security/advisories/GHSA-x56v-x2h6-7j34ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.