Advisory

GHSA-x56v-x2h6-7j34

Also known as: CVE-2025-54795

Summary

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

Details

Due to an error in command parsing, it was 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.

Users on standard Claude Code auto-update received this fix automatically after release. Current users of Claude Code are unaffected, as versions prior to 1.0.24 are deprecated and have been forced to update.

Thank you to Elad Beber (Cymulate) for reporting this issue!

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-08-04 15:18 UTC
Modified
2025-08-05 17:10 UTC

Affected packages and fixes

@anthropic-ai/claude-code

npm · All systems

Affected

  • introduced 0, fixed 1.0.20 (semver)

Fixed versions

1.0.20

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences