Claude Code: several 2025 CVEs let untrusted content bypass command confirmation prompts
Summary
Anthropic published a series of advisories in 2025 for Claude Code. In each, content an attacker could get into the context window (a file, a web page) could lead to commands running without the user's approval, or to file contents being sent over the network. All were fixed, and auto-update delivered the fixes.
Severity
Timeline
CVE-2025-55284: overly broad 'safe command' allowlist let files be read and sent out without confirmation. Fixed in 1.0.4.
CVE-2025-54795: command-parsing error (echo) bypassed the confirmation prompt. Fixed in 1.0.20.
CVE-2025-58764: another command-parsing bypass. Fixed in 1.0.105.
CVE-2025-59536: code in a project could run before the startup trust dialog was accepted. Fixed in 1.0.111.
How it happened
Coding agents decide which shell commands are 'safe' to run without asking. Parsing mistakes and allowlists that were too broad meant a crafted command could pass as safe. Anthropic's advisories note that versions before 1.0.24 were deprecated and force-updated. CVSS 4.0 scores from Anthropic's GitHub advisories: CVE-2025-54795 8.7, CVE-2025-55284 7.1, CVE-2025-58764 8.7 and CVE-2025-59536 8.7. NVD's own CVSS 3.1 scores are 9.8, 7.5, 9.8 and 8.8 in that order.
How to check your app
- Run claude --version and make sure you are on a current release.
- Keep the approval prompts on when the agent reads code, issues or web pages you did not write.
- Don't start an agent in a freshly cloned, untrusted repo before you have looked at its config files.
Sources
- GitHub advisory GHSA-x56v-x2h6-7j34 (CVE-2025-54795)
- NVD: CVE-2025-55284
- NVD: CVE-2025-58764
- GitHub advisory GHSA-4fgq-fpq9-mr3g (CVE-2025-59536)
Corrections and updates
Added publication dates for each CVE and said which record each date comes from.
Cite this entry
- Title
- Claude Code: several 2025 CVEs let untrusted content bypass command confirmation prompts
- Added
- Oct 14, 2026
- URL
- https://vibeincidents.com/incidents/claude-code-confirmation-bypass-cves/
- Suggested citation
VibeIncidents. "Claude Code: several 2025 CVEs let untrusted content bypass command confirmation prompts." Oct 14, 2026. https://vibeincidents.com/incidents/claude-code-confirmation-bypass-cves/