Skip to content
CriticalVulnerabilityLLM-specific

CVE-2025-54795: Claude Code command parsing flaw bypasses confirmation prompt

Identifier
CVE-2025-54795
Published
Record updated
View JSON
Affected
  • @anthropic-ai/claude-code < 1.0.20
Fixed in
1.0.20
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.0%

Summary

CVE-2025-54795 affects Claude Code versions below 1.0.20. An error in command parsing lets an attacker bypass the Claude Code confirmation prompt and trigger execution of an untrusted command, classified as CWE-78. Exploiting it reliably requires the ability to add untrusted content into a Claude Code context window.

Mitigation

Fixed in version 1.0.20.